Create Access Policy

Create a new access policy.

Body Params
string
required

The name of the access policy.

string
required

Explanation for why this policy exists.

apps
array of objects
required
length ≥ 1

List of apps granted by this access policy.

Apps*
string
required

The ID of this app.

Whether approval is required for this app grant.

permissions

List of permissions granted for this app. Empty list means app-level grant.

access_condition

The Lumos Condition object determining which identities qualify for this policy. Required unless is_everyone_condition is true. This is a recursive JSON structure that allows you to define complex rules for filtering and matching identities using operators like equals, in, and, or, and not. For more information, see the Lumos Conditions documentation.

boolean
Defaults to false

Whether the access policy applies to everyone. If true, access_condition is ignored. Otherwise, access_condition must be provided.

Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json