POST
/
workspace
/
update
/
{workspace_id}
curl --request POST \
  --url https://api.callab.ai/v1/workspace/update/{workspace_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "workspace_name": "<string>"
}'
{
  "status": "<string>",
  "message": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "workspace_slug": "<string>",
    "workspace_name": "<string>",
    "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace_id
string
required

ID of the workspace to update.

Body

application/json

Workspace update data.

Data required to update an existing workspace. Currently, only workspace_name can be updated.

Response

200
application/json

Workspace updated successfully or error if update fails (e.g., name conflict, workspace not found).

The response is of type object.