Update an organization member’s RBAC role.
Requires org:write permission.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
curl --request PATCH \
--url 'https://api.unify.ai/v0/organizations/<organization_id>/members/<member_user_id>/role' \
--header "Authorization: Bearer $UNIFY_KEY"
--header 'Content-Type: application/json' \
--data '{}'
{
"id": "integer",
"user_id": "string",
"organization_id": "integer",
"level": "string",
"role_id": "integer | null",
"role_name": "string | null",
"created_at": "string"
}