Skip to content
Select themeSelect language

PUT /organization/members/{user_id}/role — change a member's org role.

PUT
/api/organization/members/{user_id}/role
curl --request PUT \
--url https://example.com/api/organization/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/role \
--header 'Content-Type: application/json' \
--data '{ "role": "example" }'
user_id
required
string format: uuid
Media typeapplication/json
object
role
required
string
Examplegenerated
{
"role": "example"
}
Media typeapplication/json

PUT /organization/members/{user_id}/role response — {ok:true, role} echoing the new role.

object
ok
required
boolean
role
required
string
Examplegenerated
{
"ok": true,
"role": "example"
}