API ReferencePolicies
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.
PUT
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.
application/json- body
operation?stringValue in
"edit""set_status""restore""promote_version"name?stringdescription?string|nullcedarPolicy?stringscope?stringValue in
"workspace""project"scopeId?string|nullstatus?stringValue in
"active""draft"regulatoryTags?array<string>metadata?changeReason?stringLength
length <= 500targetVersion?integerRange
0 < value <= 9007199254740991Policy lifecycle mutation applied.
application/json- response
policy*curl -X PUT 'https://app.rensei.ai/api/policies/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "policy": { "id": "string", "workspaceId": "string", "name": "string", "description": "string", "cedarPolicy": "string", "scope": "string", "scopeId": "string", "status": "string", "version": 0, "regulatoryTags": [ "string" ], "metadata": { "property1": null, "property2": null }, "createdBy": "string", "createdAt": "string", "updatedAt": "string", "archivedAt": "string" }}Archive a Cedar policy. Hard deletion is retention-forbidden.
Archive a Cedar policy. Hard deletion is retention-forbidden. - Rensei REST API operation reference.
List projects in the authenticated org (autocomplete-shaped options).
List projects in the authenticated org (autocomplete-shaped options). - Rensei REST API operation reference.