Skip to content
Start in Cloud

Update user role

POST
/api/admin/users/{id}/role
curl --request POST \
--url https://hitkeep.com/api/admin/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/role \
--header 'Content-Type: application/json' \
--cookie hk_token=<hk_token> \
--data '{ "role": "example" }'

Updates instance role for target user.

id
required
string format: uuid
Media type application/json
object
role
required
string
Example generated
{
"role": "example"
}

Status

Media type application/json
object
message
string
status
string
Example generated
{
"message": "example",
"status": "example"
}