Skip to Content
Cut.ProDocs
Account: workspace

Rename a workspace

Changes the name of a workspace this key reaches. Only its owner can rename it.

Authorization

apiKey
headerX-Api-Key<token>

Path Parameters

id*string
Lengthlength <= 24

Request Body

  1. body
name*string

Shown in the cut.pro workspace switcher. Usually your client's name.

Length1 <= length <= 100

Response Body

Response for status 200

application/json
  1. response
success*boolean
PATCH
/workspaces/{id}
Example Request
curl -X PATCH 'https://api.cut.pro/api/v1/workspaces/string' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "success": true}