Preview renewing one certificate
POST/api/v1/operator/renewals/preview
Needs the mcp:renew:request scope, and the instance flag MCP_OPERATOR_WRITES_ENABLED and the workspace setting must both be on. Changes nothing except storing an expiring plan record. Runs the same validation a real renewal would, so it refuses what could not be renewed. The body is closed: only identityId. Response shape: packages/contracts/mcp/mcp-renew-tools.schema.json definition tt_preview_renew_output.
Responses
- 201
- 400
- 401
- 402
- 403
- 404
- 409
- 410
- 429
- 500
A plan, valid for ten minutes
Bad request
Unauthorized
Cloud workspace plan does not include certificate operations (PLAN_FEATURE_REQUIRED)
The connection lacks scope, assistant writes are disabled, or the Cloud workspace is frozen (WORKSPACE_FROZEN)
Not found
Refused for a stable reason: the plan does not match or the certificate changed since the preview, the request id was used for something different, the certificate is retired or unmanaged, the certificate authority is at capacity, or the workspace is paused. The code says which; the message is fixed wording.
The preview expired
Too many assistant requests are already waiting for approval
Internal server error