Patch Access Policy Draft
Update the draft of an access policy; any field you omit keeps its draft value. apps, when sent, replaces the draft’s grants wholesale. No field can be null. Send is_everyone_condition: true to reset the condition to everyone. Returns the updated draft. The published version and owners don’t change.
owners, status and is_enabled belong to the policy, so sending them returns 400. Use PATCH /v1/access-policies/{id} for owners. Returns 404 if the policy has no draft. Returns 409 if another request deletes the draft before the response is built; the update was saved. Listing an app twice, or an entitlement twice under one app, returns 400. An app or entitlement that doesn’t resolve returns 404 without saying which.
An access_condition may use only the attributes and operators the Lumos condition builder offers, with one operator per attribute, and a date-time value needs a time zone offset (2026-01-01T00:00:00Z). Any other condition returns 400 naming each problem.
Authorizations
Path Parameters
Body
A merge-patch body for a policy's draft. Owners, status and enablement belong to the policy, so sending them is refused like any other unknown field.
The Lumos Condition object determining which identities qualify for this policy. Cannot be sent together with is_everyone_condition: true. For more information, see the Lumos Conditions documentation.
Response
Successful Response
The draft version of an access policy.
Owners, status and enablement belong to the policy rather than a version, so the draft
leaves them out. Read them from GET /v1/access-policies/{id}.
The Lumos Condition object determining which identities qualify for this policy. For more information, see the Lumos Conditions documentation.