Create Policy
POST {{baseUrl}}/v1/policy
Create new policy in specifies Organization.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| No parameters |
Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Name of new policy |
organizationUid | string | required | UID of organization where will be policy created. |
items | array | optional | Array of policy items. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
x-auth | string | Authorization key and token | |
Content-Type | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{}