Update a renewal profile
PATCH/api/v1/workspaces/:id/certops/profiles/:profileId
Changes renewal configuration for a profile. Requires the workspace
admin role (certops.renewal_profile.manage) because the stored profile
determines what a host-privileged agent executes at the next renewal.
Only the fields listed in the profile's editableFields may be changed.
The fields that decide WHERE a certificate is written and WHAT command
writes it (target, deploymentTargets, acme, ca, dns) are
immutable after issuance and are rejected with
CERTOPS_PROFILE_FIELD_IMMUTABLE; repointing a deployment is a new
issuance, not an edit.
Set autoRenewEnabled to false to stop automatic renewal for every
certificate linked to this profile. The certificate then expires unless
it is renewed manually. Every accepted change writes an audit event in
the same transaction as the update.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Updated renewal profile
No supported changes were requested
Unauthorized
Forbidden
Renewal profile not found, or CertOps is disabled
The requested change is not permitted or fails the profile contract
Internal server error