Skip to main content
PUT
/
api
/
users
/
{id}
/
role
Error
A valid request URL is required to generate request examples
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Path Parameters

id
string
required

User ID

Body

application/json
role_id
integer
required

ID of the RBAC role to assign

Response

Role assigned successfully

Simple message response

message
string