Skip to main content
DELETE
/
admin
/
settings
/
notification-preferences
/
bulk
Bulk Delete Notification Preferences
curl --request DELETE \
  --url https://api.decodahealth.com/admin/settings/notification-preferences/bulk \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "preferenceIds": [
    "<string>"
  ]
}
'
true

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Schema for bulk deleting notification preferences.

preferenceIds
string[]
required

List of preference IDs to delete.

Response

Successful Response

The response is of type boolean.