DELETE/v1/services/{id}

services.delete

Soft-deletes a service. **Owner-only** — admins and members receive 403. After deletion, the `service_name` may be reused for a new service. The associated signing secret is invalidated immediately.

Parameters

NameTypeRequiredDescription
idstringrequiredService 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/services/{id}

Try it

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