Update Organization Member Role

Changes a member’s organization role. Assigning the Owner role to another member transfers ownership, demoting the current Owner to Admin.

Path parameters

userIdstringRequired
The unique identifier of the member.

Headers

CONFIDENT_API_KEYstringRequired
The organization API key for your Confident AI organization.

Request

This endpoint expects an object.
roleIdstringRequired
The id of the role to assign to the member.

Response

successboolean
Indicates if the request was successful
dataobject