Notification Providers

Update a Webhook notification provider

Changed on
put/notification-providers/webhook/{id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

Provider ID

Request body

enabledboolean nullable
namestring nullable

Example request

{
  "config": {
    "headers": {
      "Authorization": "Bearer your-token",
      "X-Custom-Header": "custom-value"
    },
    "method": "POST",
    "timeout_secs": 30,
    "url": "https://api.example.com/notifications"
  }
}

Response

Successfully updated Webhook provider

configunknown required
created_atstring date-time required
enabledboolean required
idinteger required
namestring required
provider_typestring required
updated_atstring date-time required

Changes

    • breaking

      the created_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the updated_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the config/headers/additionalProperties request property format changed from no format to password