Remove a member
Revokes the membership. The user keeps their account and any other workspaces they belong to; their email accounts stay with the workspace. Organization owners cannot be removed here - they hold implicit access to every workspace and are managed at the organization level. Removing a member whose role is admin additionally requires the caller to act as an organization owner or admin. Passing the calling key's own principal is the "leave workspace" action, which will revoke that key's access. Returns 204 with no body.
curl -X DELETE "https://lynx-api.trulyinbox.com/v2/workspaces/0/members/0"{
"error": {
"code": "invalid_request",
"message": "string",
"details": {},
"retry_after": 34
},
"meta": {
"request_id": "req_2f1c…",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "invalid_request",
"message": "string",
"details": {},
"retry_after": 34
},
"meta": {
"request_id": "req_2f1c…",
"timestamp": "2019-08-24T14:15:22Z"
}
}Update member rolePATCH
Update a member's role `userId` is the `userId` field from the member list. A key cannot change its own principal's role. Organization owners are not editable here. Assigning `admin` - or changing anyone who currently IS an `admin` - additionally requires the caller to act as an organization owner or admin.
Get plan and usage summaryGET
Get the organization plan and usage summary