PUT api/2.0/settings/webhook/{id} This function requires authentication

Description

Disables a webhook with the ID specified in the request.

Parameters
Name Description Type Example
id
sent in url
Webhook ID number 1234
Example
PUT api/2.0/settings/webhook/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Webhook settings

Example Response
{
  "status": 0,
  "response": {
    "Id": 1234,
    "Route": "some text",
    "Method": "some text",
    "Disable": true,
    "Name": "some text",
    "Description": "some text",
    "Endpoint": "some text"
  }
}