API ReferencePolicies
Archive a Cedar policy. Hard deletion is retention-forbidden.
Archive a Cedar policy. Hard deletion is retention-forbidden. - Rensei REST API operation reference.
DELETE
header
AuthorizationBearer <rsk_live_*>Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
id*stringThe policy id.
mode?stringValue in
"archive""hard"application/json- body
changeReason*stringLength
1 <= length <= 500Policy archived.
application/json- response
success*booleanoperation*stringcurl -X DELETE 'https://app.rensei.ai/api/policies/string' \ -H 'Content-Type: application/json' \ -d '{ "changeReason": "string"}'Example Response
{ "success": true, "operation": "archive"}Get one Cedar policy with its version history.
Returns a single Cedar policy scoped to the authenticated org, plus its full version history (newest first). A policy id belonging to another org returns 404.
Edit, change status, restore, or promote a Cedar policy version.
Edit, change status, restore, or promote a Cedar policy version. - Rensei REST API operation reference.