latestOpenAPI 3.0.02026-08-0819201.1 MB
411f9f98c01e
workspaces
Update the list of roles of specified member.
Only roles attribute can be updated. You need workspaces.workspace.edit or tenant.workspace.edit_membership permissions to access this resource
patch/workspaces/{workspace_id}/members/{user_id}
Path parameters
workspace_idstring required
Workspace identifier
user_idstring required
User identifier
Request body
Example request
{
"data": {
"id": "5b4f337bff4304610483ba67",
"attributes": {
"roles": [
"integrator"
]
}
}
}Response
OK
Example response
{
"data": {
"id": "5b4f337bff4304610483ba67",
"links": {
"self": "/v2/members/5b4f337bff4304610483ba67"
},
"attributes": {
"first_name": "John",
"last_name": "Smith",
"roles": [
"owner"
],
"email": "test@example.com"
}
}
}