Update webhook endpoint
PUT
Update an existing webhook endpoint
header
X-API-Key<token>API key authentication using X-API-Key header
id*numberChanges to a native webhook endpoint, null clears a header
application/json- body
Changes to a native webhook endpoint, null clears a header
name?stringLength
1 <= length <= 100url?stringauthHeaderName?|nullauthHeaderValue?|nulleventTypes?array<>Items
1 <= itemsenabled?booleanDefault Response
application/json- response
One native webhook endpoint
success*booleandata*A native webhook endpoint, auth header value included
curl -X PUT 'http://localhost:3003/v1/webhooks/endpoints/0' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "success": true, "data": { "id": 0, "name": "string", "url": "string", "authHeaderName": "string", "authHeaderValue": "string", "eventTypes": [ "media.available" ], "enabled": true, "createdAt": "string", "updatedAt": "string" }}