Skip to main content

AddWorkspaceAdmins

Set a user in a specific workspace as a workspace administrator

Description

  • Only workspace admins have access.
  • Group administrator users cannot be specified as the users to be added.
  • Adds users in the specified workspace to workspace administrators.

Method

POST

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

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