Webhooks
Update Webhook
Path Parameters
id*integer
Webhook ID (retrieve from GET /webhooks)
Range
0 < value <= 9007199254740991Request Body
application/json
PATCH /otto/api/webhooks/:id Request body
label*string
Label for the webhook
Response Body
application/json
application/json
curl -X PATCH "https://your.server.net/otto/api/webhooks/9007199254740991" \ -H "Content-Type: application/json" \ -d '{ "label": "string" }'{
"response": {},
"messages": [
{
"code": 0,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}