Organizations
Update a member's role (owner/admin)
Changed onSets a member's role and returns the updated membership. Custom roles need permissions enabled. Setting owner adds an owner, and only an owner can grant it.
Checked against the member.manage permission for the resource it acts on. See Permissions for the roles and API key permissions that include it.
patch/v1/orgs/{orgId}/members/{userId}
Request
- Base URLhttps://api.openrelay.inc
- URLhttps://api.openrelay.inc/v1/orgs/{orgId}/members/{userId}
- AuthHTTP bearer
Path parameters
orgIdstring required
userIdstring required
Request body
Response
Updated
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the non-success response with the status
- info