Skip to main content
PATCH
Update Location Status
Use the Cobalt id in the URL path. The {id} parameter should be the Cobalt location ID (the id field from GET responses), not the ehr_id.

Example Request

Example Response

Notes

  • The status update is case-insensitive (“active”, “Active”, “ACTIVE” are all accepted)
  • Only the status field can be updated through this endpoint
  • The location must belong to your organization
  • Invalid location IDs will return a 404 error

Authorizations

client_id
string
header
required
client_secret
string
header
required
access_token
string
header
required

Path Parameters

id
string
required

The location's ID

Body

application/json
status
enum<string>
Available options:
active,
inactive

Response

200 - application/json

Successful response

success
boolean
message
string
location_id
string