POST
/
v2
/
notifications
/
archive
Archive an offset lifecycle event notification configuration
curl --request POST \
  --url https://api.metronome.com/v2/notifications/archive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc"
}'
{
  "data": {
    "id": "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc",
    "name": "+1 day after contract starts",
    "type": "OFFSET_LIFECYCLE_EVENT",
    "policy": {
      "type": "contract.start",
      "offset": "P1D"
    },
    "environment_type": "PRODUCTION",
    "created_at": "2024-01-15T10:30:00Z",
    "created_by": "Martins Seyi"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Offset notification configuration ID to archive

id
string<uuid>
required

The ID of the offset lifecycle event notification configuration to archive.

Response

Success

data
object
required