PATCH
/
api
/
v1
/
workspaces
/
{uuid}
curl --request PATCH \
  --url https://app.snitcher.com/api/v1/workspaces/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "usage_limit": 1000
}'
{
  "success": true,
  "data": {
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "name": "ACME Inc.",
    "url": "https://acme.com",
    "tracking_script_id": "123",
    "tracking_script_snippet": "<script>...</script>",
    "available_tags": [
      "marketing",
      "design"
    ],
    "status": "active",
    "usage_limit": 1000
  }
}

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Path Parameters

uuid
string
required

UUID of the workspace

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json

Response

200
application/json
Workspace details

The response is of type object.