XentrDeveloper Docs
API ReferenceOrganizations

Update member role

PATCH
/api/organizations/{orgId}/members/{memberId}
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Organization ID

memberId*string

Member ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://api.xentr.ai/api/organizations/string/members/string" \  -H "Content-Type: application/json" \  -d '{    "role": "xentr_platform_owner"  }'
Empty
Empty