Create an mTLS configuration
EA Early Availability: this endpoint may change before GA.
Stores a certificate signed against the CSR from GET /v1/webhooks_settings/mtls_csr and returns its id, which is then set as webhookMtlsId on a webhook or on OAuth credentials. The private key the certificate was issued for is derived from the certificate, so it is never named by the caller.
Re-uploading a certificate already stored returns the existing id rather than creating a second configuration, so several webhooks and OAuth credentials can share one certificate.
A certificate that was not issued for a private key this workspace holds is rejected with a 400.
Endpoint Permissions: Owner, Admin, Non-Signing Admin.
Headers
Body
Response
The stored mTLS configuration
A signed client certificate stored for the workspace, and the id a webhook or OAuth credentials set references to use it. Several of them may share one configuration, so replacing the certificate here switches all of them at once.