PATCH
/
v1
/
workspaces
/
{uuid}
Update workspace details
curl --request PATCH \
  --url https://api.snitcher.com/v1/workspaces/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "usage_limit": 1000
}'
{
  "success": true,
  "data": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "ACME Inc.",
    "url": "https://acme.com",
    "tracking_script_id": "s123456789",
    "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<uuid>
required

UUID of the workspace

Example:

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

Body

application/json
usage_limit
integer
Example:

1000

Response

Workspace details

success
boolean
Example:

true

data
object