PUT api/2.0/settings/webhook/{id}
Disables a webhook with the ID specified in the request.
Name |
Description |
Type |
Example |
id
sent in url
|
Webhook ID
|
number
|
1234
|
PUT api/2.0/settings/webhook/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
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>