Skip to content

Delete workspace

DELETE
/api/v1/workspaces/{id}
curl --request DELETE \
--url https://example.com/%7B%7Bapp_url%7D/api/v1/workspaces/1 \
--header 'Authorization: Bearer <token>'

Deletes a single workspace by ID.

id
required
integer

Workspace ID

Successful

Unauthorized

Media typeapplication/json
object
message
required
string
Example
{
"message": "Record not found"
}

Forbidden

Media typeapplication/json
object
message
required
string
Example
{
"message": "Record not found"
}

Not Found

Media typeapplication/json
object
message
required
string
Example
{
"message": "Record not found"
}