Remove a suppression

Lift one of the workspace's own entries. Platform rows, and rows recording an unsubscribe or a legal request, answer 403: they are not liftable programmatically.

DELETEhttps://app.trygtm.com/api/v1/suppressions/{suppression_id}
Scope
write

Path parameters

suppression_idstringrequired
The entry's id, from list_suppressions.

Headers

Idempotency-Keystringoptional
A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.

Request

curl -X DELETE https://app.trygtm.com/api/v1/suppressions/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10 \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response

{
  "data": {
    "removed": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f"
  }
}

Was this page helpful?