Skip to main content
PATCH
Update a location
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

Cobalt location ID (UUID, with or without dashes).

Body

application/json
status
string
required

Location status. One of: "active", "inactive".

Example:

"active"

Response

Location updated

success
boolean
required
message
string
required
location_id
string
required