Skip to main content
POST
/
notifications
/
preferences
/
{type_code}
Update Notification Preference
curl --request POST \
  --url https://www.corgea.app/api/v1/notifications/preferences/{type_code} \
  --header 'CORGEA-TOKEN: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email_enabled": true
}
'
{
  "status": "ok"
}

Documentation Index

Fetch the complete documentation index at: https://docs.corgea.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

CORGEA-TOKEN
string
header
required

API key for authentication

Path Parameters

type_code
string
required

Notification type code, such as scheduled_scan.daily_report

Body

application/json
email_enabled
boolean | null
required

Set true or false, or null to inherit the company default

Response

Request completed successfully

status
string
Example:

"ok"