Update alert channel

Updates a channel's config and/or enabled flag. The channel's type cannot change. Omitted config fields keep their current values; changing an email address resets verification and re-issues a confirm link.

put/alert_channels/{id}

Request

  • Base URL: https://app.yoping.me/api/v1
  • URL: https://app.yoping.me/api/v1/alert_channels/{id}
  • Auth: API key in cookie yp_session

Path parameters

idstring required

Resource id. Ids belonging to another account behave as missing (404).

Request body

type'email' | 'webhook' | 'slack' required
enabledboolean

Update only: omit to keep the current value.

Response

Channel updated (redacted view).

Changes

No recorded changes to this operation across all 1 revision of this API.