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

application/json

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

text/xml

<result>
  <status>0</status>
  <response>
    <Id>1234</Id>
    <Route>some text</Route>
    <Method>some text</Method>
    <Disable>True</Disable>
    <Name>some text</Name>
    <Description>some text</Description>
    <Endpoint>some text</Endpoint>
  </response>
</result>