Skip to main content

Create a policy

Creates a new policy.

Request Body
nrn string REQUIRED

The NRN of the resource (including children resources) where the policy will apply

name string REQUIRED

The name of the policy

conditions object REQUIRED

The conditions that the policy applies to, as a JSON object

Responses
200

The operation was successful

Schema OPTIONAL
id integer

A system-wide unique ID representing the policy

nrn string

The NRN of the resource (including children resources) where the policy will apply

name string

The name of the policy

conditions object

The conditions that the policy applies to, as a JSON object