Skip to main content

DeleteWorkspaceAdmins

Delete workspace administrator privileges for users within a specific workspace

Description

  • Only workspace admins have access.
  • Delete workspace administrator privileges for the specified user in the workspace.
  • The workspace administrator privileges of the user who executed the API cannot be deleted.

Method

DELETE

Request URL Format

/api/v0/workspaces/:workspace-id/admins

URL Params

workspace-id    : Workspace ID

Payload

Content-Type : application/json

Payload Example

{
"users": [
"64f540aedf175a60b9f564cf",
"6463043668757581ec144005"
]
}

Response Example

{
{
"deleted_users": [
"64f540aedf175a60b9f564cf",
"6463043668757581ec144005"
],
"failed_users": null
}
}