Skip to main content
PATCH
/
v1
/
api
/
users
/
{id}
Update a user's access
curl --request PATCH \
  --url https://api.hq.zone/v1/api/users/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "admin_access": "<string>",
  "signin_access": "<string>"
}
'

Authorizations

Authorization
string
header
required

Personal Access Token. Send as Authorization: Bearer hq_pat_....

Path Parameters

id
string<uuid>
required

User id

Body

application/json
admin_access
string | null

default | granted | revoked. Sets the user's tenant-admin role, overriding the Slack is_admin flag (migration 0132).

signin_access
string | null

default | allowed | denied. Sets the user's HQ sign-in access.

Response

Access updated