Skip to main content

Change a member's role and/or status

PATCH 

/v1/networks/:networkId/members/:userId

Updates a member's role (admin/viewer) and/or status (active/pending/suspended); at least one of the two must be provided. Requires the administrator role, and a caller cannot grant a role higher than its own (403). Demoting, suspending, or otherwise removing the last active admin is blocked and returns 409, as does a version conflict.

Request

Responses

The updated member