Create a workspace
$ boltz-api admin:workspaces create
POST/compute/v1/admin/workspaces
Create a workspace
Parameters
--data-retention: optional object { unit, value }
How long result data is retained before automatic deletion. Defaults to 7 days if not specified. Maximum retention is 14 days (336 hours).
--name: optional string
Workspace name
minLength1
maxLength255
Returns
Create a workspace
boltz-api admin:workspaces create{
"id": "id",
"archived_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"data_retention": {
"unit": "hours",
"value": 1
},
"is_default": true,
"name": "name",
"updated_at": "2019-12-27T18:11:19.117Z"
}Returns Examples
{
"id": "id",
"archived_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"data_retention": {
"unit": "hours",
"value": 1
},
"is_default": true,
"name": "name",
"updated_at": "2019-12-27T18:11:19.117Z"
}