Favicon

You are here: Home > API Reference > Workspace > Organization > Delete organization workspace permanently

Delete organization workspace permanently

Required Permission: base.organization.management.remove

Permanently deletes organization workspace and all associated resources including applications, device enrollments, user assignments, and historical data requiring subscription cancellation.

DELETE
/v1/organizations/:organizationId
Copy to clipboard

Delete organization workspace permanently

Required Permission: base.organization.management.remove

Permanently deletes organization workspace and all associated resources including applications, device enrollments, user assignments, and historical data requiring subscription cancellation.

Request

Add parameter in header authorization
Example: Authorization: Bearer <token>
organizationId string
required
Organization unique identifier or URL-friendly slug used for workspace access, API routing, and resource isolation across dashboard.
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$

Responses

200 Response application/json
status boolean optional
data object optional
delete string optional
OK
{
    "status": true,
    "data": {
        "delete": "OK"
    }
}
400 Response application/json
status boolean optional
false
error object optional
code number optional
5111
message string optional
Can not perform this action because there are active subscriptions
{
    "status": false,
    "error": {
        "code": 5111,
        "message": "Can not perform this action because there are active subscriptions"
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}