Update Workspace Status
Enables or disables a workspace by updating its active status.
Endpoint
Section titled “Endpoint”PATCH /rest/v1/workspaces/{workspace_uuid}/statusHeaders
Section titled “Headers”| Header | Value |
|---|---|
Authorization | Bearer <YOUR_API_KEY> |
Content-Type | application/json |
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
workspace_uuid | String | Yes | Unique identifier of the workspace. |
Request Body
Section titled “Request Body”{ "active": true}Request Parameters
Section titled “Request Parameters”| Field | Type | Required | Description |
|---|---|---|---|
active | Boolean | Yes | Set to true to enable the workspace or false to disable it. |
Success Response
Section titled “Success Response”Status: 200 OK
{ "data": { "uuid": "01kkjzqprq1scsjh81ywp6wmeq", "name": "Production Plant", "time_zone": "Asia/Calcutta", "created_at": "2026-07-09T11:30:25Z", "updated_at": "2026-07-14T10:15:30Z", "active": false, "description": "Production workspace for IoT devices and monitoring.", "allow_manage_users": true, "currency_code": "INR", "enable_iot": true, "primary_language": "english", "secondary_language": "" }, "meta": { "success": true, "message": "Workspace status updated successfully" }}