Users
Assign a role to a user
Changed onAssign a role to a user
post/api/v1/users/{id}/roles
Request
- Base URLhttps://core.quidkey.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
The user ID
Request body
Example request
{
"role": "global:admin"
}Response
Created
Example response
{
"success": true,
"data": {
"id": "123e4567-e89b-12d3-a456-426614174001",
"role": "global:admin",
"created_at": "2024-03-19T12:00:00Z"
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking