Update a notification provider
Update a notification provider. Send only the fields to change. Omit config to keep the stored configuration (do not send back the masked config from a read); changing type requires a complete config for the new type, or the request returns 400.
bearerAuthAuthorizationBearer <token>Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.
id*stringNotification provider ID
uuidapplication/json- body
name?stringtype?stringconfig?Provider-specific configuration. Omit to keep the stored configuration. For webhooks, preset names the paging service; send the full request settings with it.
isEnabled?booleanTurn the channel on or off.
Provider updated
application/json- response
id?stringuuidname?stringtype?string"email""slack""webhook""telegram""discord""teams"isEnabled?booleanWhether the channel sends notifications.
config?lastUsed?stringdate-timecreatedByName?stringcreatedByImage?stringcreatedAt?stringdate-timehealth?Channel health from the newest delivery in the last 7 days. auth_failed: the receiver rejected the integration key (HTTP 401/403, never retried).
curl -X PUT 'https://app.supercheck.io/api/notification-providers/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "type": "email", "isEnabled": true, "config": {}, "lastUsed": "2019-08-24T14:15:22Z", "createdByName": "string", "createdByImage": "string", "createdAt": "2019-08-24T14:15:22Z", "health": { "state": "ok", "at": "2019-08-24T14:15:22Z" }}