DELETE/v1/dispatch_targets/{id}

dispatch_targets.delete

Hard-deletes the dispatch target. Notification rules that referenced this target keep their inline config and continue to function in legacy mode (the FK is `ON DELETE SET NULL`).

Parameters

NameTypeRequiredDescription
idstringrequiredDispatch target id.
Idempotency-KeystringoptionalOptional client-supplied key for at-most-once semantics. The first request with a given key is processed; subsequent requests with the same key replay the cached response for 24h.

Response

No parameters.

Examples

curl -sS -X DELETE \
  -H "Authorization: Bearer $CULPRIT_API_TOKEN" \
  https://api.theculprit.ai/v1/dispatch_targets/{id}

Try it

Stored locally in your browser at localStorage.docs.tryit.token. Never sent to Culprit's analytics. Use a read-only token.