SG Ground Truth

PUT /webhook/hooks/<record_uuid>

put_webhook_hooks_record_uuid

A partial body edits only the keys it names. An empty body is 400, and status takes active or disabled and names both in the error.

API

Params

part value
Content-Type application/json
body at least one of url, entity_types, projects, token, name, description, status, validate_ssl_cert, batch_deliveries

Sample requests

r = c.put(f"/webhook/hooks/{uuid}", json={"description": "status watcher, v2"})
{ "data": { "id": "<uuid>", "description": "status watcher, v2",
    "entity_types": { "Shot": { "create": [], "delete": [],
                                "update": ["sg_status_list", "description"] } },
    "status": "active", "num_deliveries": 0, "is_token_set": true } }

Response codes

status when
200 updated, whole hook returned
400 empty body: {"ensure_field_present": ["at least one field must be provided"]}
400 {"status": ["status must be one of: active, disabled"]}

Edge cases

  • A key omitted from the body is left alone. This is a partial update, not a replace.
  • The error enumerates the legal statuses, so the vocabulary is readable from a deliberate 400 without reading the documentation.

Every entry on this site is the output of a probe in probes/. The corpus is generated by running those probes against a live Flow Production Tracking site, not written from memory.

Not affiliated with or endorsed by Autodesk. Flow Production Tracking is their product; this is an independent record of how its REST API answers.