Skip to Content
veriom

Detach workspace from plan

Stop a workspace sharing this plan; it keeps its data but starts no new work. A billing action: an Owner or Admin of the paying workspace, in an interactive session with a recent step-up (``428 step_up_required`` otherwise). The detached workspace frees its place at once and has no plan until it is put on one of its own.

POST
/v1/workspaces/{workspace_id}/plan/workspaces/{covered_workspace_id}/detach

Stop a workspace sharing this plan; it keeps its data but starts no new work.

A billing action: an Owner or Admin of the paying workspace, in an interactive session with a recent step-up (428 step_up_required otherwise). The detached workspace frees its place at once and has no plan until it is put on one of its own.

Authorization

workspaceToken
headerAuthorizationBearer <vat_<opaque-token>>

Expiring, hashed workspace token with explicit scopes.

Path Parameters

workspace_id*Workspace Id
Formatuuid
covered_workspace_id*Covered Workspace Id
Formatuuid

Response Body

Successful Response

application/json
  1. response

The workspaces this workspace's plan covers, oldest first.

items*array<>
Example Request
curl -X POST 'https://api.veriom.ai/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/plan/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/detach'
Example Response
{  "items": [    {      "added_at": "2019-08-24T14:15:22Z",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "leaving": true,      "name": "string",      "slug": "string"    }  ]}