Skip to content

Update Certificate

PATCH
/certificates/{certificateId}

Partially updates a Certificate’s mutable fields: name, issuedAt, expiresAt. Only provided fields are updated — omitted fields remain unchanged. Date coherence (issuedAt <= expiresAt) is enforced by the domain layer. The Space must be active.

certificateId
required
string
X-Space-Id
required
string format: uuid

UUID of the target Space (tenant boundary). Validated against user access.

object
name

New name

string
Example
Updated certificate 2026
issuedAt

New issue date (ISO 8601)

string format: date
Example
2026-02-01
expiresAt

New expiration date (ISO 8601)

string format: date
Example
2031-02-01

Unauthorized — missing or invalid JWT

Forbidden — insufficient permissions

Resource not found

Validation failed — invalid input