Automette docs

Update a webhook subscription

PATCH
/api/v1/webhooks/{id}

Authorization

ApiKeyAuth
AuthorizationBearer <token>

API key from Settings → API Keys.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v1/webhooks/string" \  -H "Content-Type: application/json" \  -d '{    "enabled": false  }'
{  "id": "string",  "url": "http://example.com",  "events": [    "render.completed"  ],  "enabled": true,  "failure_count": 0,  "template_id": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}