Docs
Update Location Permissions
PUT /Locations/{locationId}/permissions
PUT
/Locations/{locationId}/permissionsReplaces the verbs a user is granted directly on one location (feature.verb, or * for admin). Pass the full set to keep; anything omitted is removed, and role grants are untouched. A string that is not a verb valid at a location is refused (400) by name. Needs organization admin on the owning organization. The user's location token is revoked.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| locationId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| userId | uuid | Optional | |
| permissions | string[] | Optional |