Update account membership
/v1/accounts/{accountId}/memberships/{membershipId}
Signed-in sessionLaunch key account.membersOperation account_membership_update
Path parameters
- accountIdstringRequired
- membershipIdstringRequired
Body
- status"removed"
- role"account_owner" | "admin" | "billing_admin" | "member" | "viewer"
- customRoleIdnull | string
- expectedVersionnumberRequired
Returns
- idstringRequired
- accountIdstringRequired
- userIdstringRequired
- role"account_owner" | "admin" | "billing_admin" | "member" | "viewer"Required
- status"active" | "invited" | "removed"Required
- versionnumberRequired
Errors
400, 401, 403, 404, 409, 429 and 503 return {"error": {"code", "message", "correlationId"}}. A call without a valid credential gets 401 before its input is checked, and so does an address that is not an operation: 404 and 400 come only once the credential is accepted. Public operations answer without one.