API ReferenceNew CentralGuidesMRT APIConfiguration API
GithubAirheads Developer Community
API Reference

Create authorization policy configuration.

Authorization Policy to be used for Central NAC.

Authorization policy defines authorization sources and rules that determine the enforcement profile that is assigned to user or device upon authorization.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≤ 9999

Unique immutable identifier for policy.

Query Params
string

LOCAL - To create local objects. SHARED - To create shared objects. Default - Defaults to SHARED if not provided

string

Scope at which local object needs to be created. Mandatory if object-type = LOCAL. Should not be provided for object-type = SHARED.

string

Device function for which the local object needs to be created. Mandatory if object_type = LOCAL. Should not be provided for object_type = SHARED.

Body Params

policybody object

int64
1 to 43200
Defaults to 4320

Maximum time in minutes after which cached client attributes are dropped.

default-enf-profile
array of objects
length ≤ 2147483647

Default enforcement profile that is inherited by all configured rules.

A union of enforcement attributes from default profile and enforcement profile from matching rule will be applied.

Enforcement Attributes from matching rule have precedence over default attributes

default-enf-profile
string
length between 0 and 255
string
length between 1 and 32

Name of the DPP network.

boolean
Defaults to true

Enable policy.

identity-stores
array of strings
length ≤ 2147483647
identity-stores
string
required
length between 1 and 255

Name of authorization policy.

string
length ≤ 9999

Unique immutable identifier for policy.

string
enum

Authorization policy type that defines the kind of pre-conditions,
identity stores, policy rules and enforcement profiles that can be configured.

Show Details
CUSTOMCustom authorization policy that provides complete flexibility in configuration. This is only allowed with premium license.
DEVICEClient device or MAC based authorization policy.
DPPAuthorization policy for DPP.
USERUser based authorization policy.
VISITORAuthorization policy for visitors.
Allowed:
int32
required
0 to 255

Position determines the order in which the policies are evaluated.

conditions
object

Policy conditions under which the policy or rule can be applied.

rule
array of objects
length ≤ 2147483647

Policy rule is collection of logical conditions and actions that are evaluated against the configured attributes.

Policy rules are evaluated in the order of their position.

A union of enforcement attributes from the first matching rule and default enforcement profile is applied.

Enforcement Attributes from matching rule have precedence over default attributes.

rule
Responses

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