Skip to main content
PATCH
/
locations
/
{id}
Update a location
curl --request PATCH \
  --url https://www.ruddr.io/api/workspace/locations/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "isActive": true
}
'
{ "id": "13e1cc93-be1a-495f-8455-8b92ca07d851", "name": "San Diego, California", "isActive": true, "createdAt": "2024-03-18T14:46:21.035Z" }
A physical or logical location used to organize service offerings and personnel.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The location uuid

Body

application/json
name
string

The name of the location.

isActive
boolean

Whether the location is active.

Response

200

id
string

The unique identifier for the object.

name
string

The name of the location.

isActive
boolean

Whether the location is active.

createdAt
string<date-time>

The timestamp when the object was created.