Update a webhook
PUT/webhook
Update a webhook's details such as its URL or event type.
Request
Query Parameters
apiKey stringrequired
The public API key for authentication.
Header Parameters
API-SECRET stringrequired
The secret API key for authentication.
- application/json
Body
required
webhookId string
webhookUrl string
eventType string
Responses
- 200
- 403
Webhook successfully updated.
- application/json
- Schema
- Example (from schema)
Schema
webhookId string
webhookUrl string
eventType string
{
"webhookId": "string",
"webhookUrl": "string",
"eventType": "string"
}
Access to the resource is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
statusCode integer
errorMessage string
error string
{
"statusCode": 403,
"errorMessage": "Forbidden resource",
"error": "Forbidden"
}
Loading...