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"}'
Workspaces
Update Workspace
Update a workspace.
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.
string
required
Your API key (prefixed with
wh_).string
required
Workspace UUID.
Body
string
Updated workspace name.
Payload examples
- Update name
{
"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"}'