PUT /a/workspace/{Slug}
Create or update a workspace
Body Parameters
Name | Description | Type | Required |
---|---|---|---|
Attributes | JSON-encoded list of attributes | string | |
Description | Description of the workspace (max length 1000) | string | |
Label | Label of the workspace (max length 500) | string | |
LastUpdated | Last modification time | integer | |
Policies | Policies for securing access | array | |
PoliciesContextEditable | Context-resolved to quickly check if workspace is editable or not | boolean | |
RootNodes | List of the Root Nodes in the tree that compose this workspace | object | |
RootUUIDs | Quick list of the RootNodes uuids | array | |
Scope | Scope can be ADMIN, ROOM (=CELL) or LINK | #/definitions/idmWorkspaceScope | |
Slug | Slug is an url-compatible form of the workspace label, or can be freely modified (max length 500) | string | |
UUID | Unique identifier of the workspace | string |
Body Example
{
"Attributes": "string",
"Description": "string",
"Label": "string",
"LastUpdated": 10,
"Policies": [
{
"Action": "string",
"Effect": "string",
"JsonConditions": "string",
"Resource": "string",
"Subject": "string",
"id": "string"
}
],
"PoliciesContextEditable": true,
"RootNodes": {},
"RootUUIDs": [
"string"
],
"Scope": "string",
"Slug": "string",
"UUID": "string"
}
Response Example (200)
Response Type /definitions/idmWorkspace
{
"Attributes": "string",
"Description": "string",
"Label": "string",
"LastUpdated": 10,
"Policies": [
{
"Action": "string",
"Effect": "string",
"JsonConditions": "string",
"Resource": "string",
"Subject": "string",
"id": "string"
}
],
"PoliciesContextEditable": true,
"RootNodes": {},
"RootUUIDs": [
"string"
],
"Scope": "string",
"Slug": "string",
"UUID": "string"
}