Updates the web hook registration with the specified ID.
PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/webhookregistrations/{id}
Parameter name | Value | Description | Additional |
---|---|---|---|
id | string | Required | |
businessId | string | Required |
The request body takes a complete WebHook resource, containing the following writable properties:
{
"description": "string",
"id": "string",
"isPaused": "boolean",
"secret": "string",
"webHookUri": "string"
}
Name | Type | Description |
---|---|---|
description | string | String |
id | string | String |
isPaused | boolean | Boolean |
secret | string | String |
webHookUri | string | Uri |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
IHttpActionResult |
Powered by DapperDox