Skip to main content
POST
/
notifications
/
archive
Archive Notifications
curl --request POST \
  --url https://api.decodahealth.com/notifications/archive \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "notification_ids": [
    "<string>"
  ]
}
'
{}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Parameters for archiving specific notifications

notification_ids
string[]
required
Required array length: 1 - 500 elements

Response

Successful Response

{key}
integer