Skip to main content
PATCH
/
v1
/
workspaces
/
{workspaceId}
curl -X PATCH https://api.whatabot.app/api/v1/workspaces/{workspaceId} \
  -H "X-Api-Key: wh_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "New Name"}'
Update a workspace’s name.
X-Api-Key
string
required
Your API key (prefixed with wh_).
workspaceId
string
required
Workspace UUID.

Body

name
string
Updated workspace name.

Payload examples

{
  "name": "New Name"
}
curl -X PATCH https://api.whatabot.app/api/v1/workspaces/{workspaceId} \
  -H "X-Api-Key: wh_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "New Name"}'