PUT api/2.0/settings/webhook This function requires authentication

Description

Updates the tenant webhook with the parameters specified in the request.

Parameters
Name Description Type Example
Id
sent in body
ID number 1234
Name
sent in body
Name string some text
Uri
sent in body
URI string some text
SecretKey
sent in body
Secret key string some text
Enabled
sent in body
Enabled or not Bool value true
SSL
sent in body
SSL Bool value true
Example
PUT api/2.0/settings/webhook
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Id": 1234,
  "Name": "some text",
  "Uri": "some text",
  "SecretKey": "some text"
}
Returns

Updated tenant webhook with its config parameters

Example Response
{
  "status": 0,
  "response": {
    "Id": 1234,
    "Name": "some text",
    "Uri": "some text",
    "SecretKey": "some text",
    "Enabled": true,
    "SSL": true
  }
}