Schema
UpdatePolicyRequest
Type:
object
Partial update of a policy. Only fields present in the body are updated; absent fields are left unchanged. At least one field must be present. For
cedar_v1 policies, supply cedar_v1 to replace the policy text; name and scope may be combined freely.cedar_v1
Schema:
CedarV1Policy
name
Type:
string
Policy name, unique within the organization.
All schema constraints and annotations
{
"description": "Policy name, unique within the organization.",
"examples": [
"Security Research"
],
"minLength": 1,
"type": "string"
}scope
Schema:
ScopePatch
All schema constraints and annotations
{
"description": "Partial update of a policy. Only fields present in the body are updated; absent fields are left unchanged. At least one field must be present. For `cedar_v1` policies, supply `cedar_v1` to replace the policy text; `name` and `scope` may be combined freely.\n",
"properties": {
"cedar_v1": {
"$ref": "#/components/schemas/CedarV1Policy"
},
"name": {
"description": "Policy name, unique within the organization.",
"examples": [
"Security Research"
],
"minLength": 1,
"type": "string"
},
"scope": {
"$ref": "#/components/schemas/ScopePatch"
}
},
"type": "object"
}