WebhooksId
Update a gateway webhook
Path Parameters
id*integer
Numeric primary key of a gateway_webhook row.
Format
int64Header Parameters
apikey*string
The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.
Request Body
application/json
[key: string]?any
Response Body
application/json
application/json
curl -X PATCH "https://athena-cluster.com/admin/webhooks/0" \ -H "apikey: string" \ -H "Content-Type: application/json" \ -d '{}'{
"status": "success",
"message": "string",
"data": {}
}Empty
{
"status": "error",
"message": "string",
"error": "string"
}