Skip to main content
PUT
Update the KODE OS role of a user
This changes the role in the app only. The user’s organization role stays the same. To change the organization role, use Update a user.
The user must already have the app. If not, the request fails with 400 and the message “App not found”. Wait until assignmentStatus is SUCCEEDED or FAILED before you change the role. A change while the assignment is still being set up is rejected.

Authorizations

Authorization
string
header
required

Paste an access token from Create an access token. Tokens expire, so request a new one if you receive 401.

Path Parameters

appId
string
required

Identifier of the app. Only bms is supported.

userId
string
required

Identifier of the user.

Body

application/json
role
string
required
Pattern: \S

Response

The role was changed. The response has no body.