/workspace/{workspace-id}/admins
The admin users of a workspace.
GET /workspace/{workspace-id}/admins HTTP/1.1
Host: localhost:3000
An array of User
objects who are admin of the parent workspace, in addition to the following field :
Name | Description | Type |
---|---|---|
|
The admin permission. |
|
POST /workspace/{workspace-id}/admins HTTP/1.1
Host: localhost:3000
Name | Description | Type |
---|---|---|
|
The users at which set admin permission. |
|
|
The |
|
|
The admin permission. |
|
If successful :
{
"success": true
}
Otherwise a relevant error message will be returned.
You can't update admin permissions. Delete the admin permission and after that, publish an new admin permission.
DELETE /workspace/{workspace-id}/admins HTTP/1.1
Host: localhost:3000
Name | Description | Type |
---|---|---|
|
An array of |
|
If successful :
{
"success": true
}
Otherwise a relevant error message will be returned.