This API is used to delete a workspace.
DELETE /v1/{project_id}/workspaces/{workspace_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
workspace_id |
Yes |
String |
Workspace ID. |
None
Status code: 200
Parameter |
Type |
Description |
---|---|---|
workspace_id |
String |
Workspace ID, which is a 32-bit UUID generated by the system without hyphens (-). The ID of the default workspace is 0. |
Deleting a Workspace
DELETE https://{endpoint}/v1/{project_id}/workspaces/{workspace_id}
Status code: 200
OK
{ "workspace_id" : "***05d1a553b4e188ea878e7dcb85***" }
Status Code |
Description |
---|---|
200 |
OK |
400 |
BadRequest |
403 |
Forbidden |
500 |
InternalServerError |
See Error Codes.