Skip to main content
PATCH
TypeScript

Path Parameters

webhookMtlsId
string<uuid>
required

The unique identifier of the mTLS configuration

Example:

"44fcead0-7053-4831-a53a-df7fb90d440f"

Body

application/json

At least one property must be provided.

name
string | null

A new label for this mTLS configuration, or null to remove it. Letters, digits and spaces only.

Maximum string length: 255
Pattern: ^[a-zA-Z0-9 ]*$
Example:

"Production gateway 2027"

signedCert
string

A replacement signed certificate PEM. Every webhook using this configuration switches to it, and the private key it was issued for is re-derived from the certificate.

Example:

"-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"

Response

The updated mTLS configuration

A signed client certificate stored for the workspace, and the id a webhook references to use it. Several webhooks may share one configuration, so replacing the certificate here switches all of them at once.

id
string<uuid>
required

The unique identifier of the mTLS configuration, to be set on a webhook.

Example:

"44fcead0-7053-4831-a53a-df7fb90d440f"

signedCert
string
required

The signed client certificate PEM.

Example:

"-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"

expiresAt
integer<int64>
required

When the certificate itself expires, in milliseconds since the epoch.

Example:

1726108200000

createdAt
integer<int64>
required

When the certificate was uploaded, in milliseconds since the epoch.

Example:

1694572200000

updatedAt
integer<int64>
required

When this configuration was last changed, in milliseconds since the epoch. Differs from createdAt once the certificate has been replaced or the configuration renamed.

Example:

1726108200000

name
string

The label given to this mTLS configuration.

Example:

"Production gateway 2026"