Skip to navigation

Delete a workspace

Deletes one of your workspaces. If-Match is required: the version you read, or * to delete whatever is stored. A stale version is 412 with currentVersion. The id is never reused.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

workspaceIdstringRequired
The workspace id.

Headers

If-MatchstringRequired

Required on every entity write: the ETag the read minted, quoted or bare, the version this write was computed against, or * to write unconditionally on purpose. Absent is 428 PRECONDITION_REQUIRED; a weak validator or a list 400 INVALID_IF_MATCH; a stale value 412 VERSION_CONFLICT with currentVersion and a fresh ETag: re-read, reapply, retry. Every write restates the whole record, so a * write overwrites every field from your copy. State the version unless you mean the overwrite.

X-Request-IdstringOptional

Your own id for the request: 8 to 128 of [A-Za-z0-9._-]. It becomes the request’s id and is echoed on the response. A value off that grammar is replaced with a fresh id, never refused.

Errors

400
Delete Workspaces Request Bad Request Error
401
Delete Workspaces Request Unauthorized Error
404
Delete Workspaces Request Not Found Error
412
Delete Workspaces Request Precondition Failed Error
428
Delete Workspaces Request Precondition Error
501
Delete Workspaces Request Not Implemented Error
503
Delete Workspaces Request Service Unavailable Error