/api/v1/data/webhooks/{id}
PATCH
/api/v1/data/webhooks/{id}
const url = 'https://example.com/api/v1/data/webhooks/1';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"isActive":true,"eventTypes":["example"],"description":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/api/v1/data/webhooks/1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "isActive": true, "eventTypes": [ "example" ], "description": "example" }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
integer format: int32
Request Body
Section titled “Request Body ”object
isActive
boolean
eventTypes
Array<string>
description
string
Example generated
{ "isActive": true, "eventTypes": [ "example" ], "description": "example"}object
isActive
boolean
eventTypes
Array<string>
description
string
Example generated
{ "isActive": true, "eventTypes": [ "example" ], "description": "example"}object
isActive
boolean
eventTypes
Array<string>
description
string
Example generated
{ "isActive": true, "eventTypes": [ "example" ], "description": "example"}Responses
Section titled “ Responses ”OK