Supercheck LogoSupercheck
Notifications API

Update a notification provider

Update notification provider name, type, or configuration.

PUT
/api/notification-providers/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.

In: header

Path Parameters

id*string

Notification provider ID

Formatuuid

Request Body

application/json

name*string
type*string
config*object

Response Body

application/json

application/json

application/json

curl -X PUT "https://demo.supercheck.dev/api/notification-providers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "type": "string",    "config": {}  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "type": "email",
  "enabled": true,
  "config": {},
  "lastUsed": "2019-08-24T14:15:22Z",
  "createdAt": "2019-08-24T14:15:22Z"
}
{
  "error": "Unauthorized"
}
{
  "error": "Not found"
}