Delete an mTLS configuration
EA Early Availability: this endpoint may change before GA.
Deletes an mTLS configuration. By default the delete is refused while the configuration is still in use: if any webhook or OAuth credentials reference it, nothing is deleted and the request fails with 409 Conflict, naming the reason and listing the ids of what references it. This protects a shared configuration from being removed out from under the webhooks and token requests that depend on it.
Pass forceDelete=true to delete anyway. That detaches everything referencing it — it clears webhookMtlsId on each webhook and OAuth credentials, it does not delete them — then deletes the configuration and returns the deleted resource together with detachedWebhookIds and detachedWebhookOauthIds. Detached webhooks keep delivering notifications, and detached OAuth credentials keep requesting tokens, but without a client certificate, so an endpoint that requires mTLS will reject them from that point on.
When nothing references the configuration the delete succeeds either way, and both lists come back empty.
Endpoint Permissions: Owner, Admin, Non-Signing Admin.
Path Parameters
Query Parameters
Delete the configuration even while webhooks or OAuth credentials still reference it, detaching them instead of refusing; their ids are returned in detachedWebhookIds and detachedWebhookOauthIds. Leave it unset, or false, to get a 409 Conflict whenever anything still references the configuration.
Response
The deleted mTLS configuration, plus the ids of any webhooks and OAuth credentials that were detached from it
The deleted mTLS configuration, plus the ids of any webhooks and OAuth credentials the delete detached from it. They are only detached by forceDelete=true; without it a delete is refused with 409 while anything still references the configuration.