2023-04-25 16:58:47 +02:00
|
|
|
---
|
|
|
|
title: createPolicy
|
|
|
|
slug: /main-concepts/metadata-standard/schemas/api/policies/createpolicy
|
|
|
|
---
|
|
|
|
|
|
|
|
# CreatePolicyRequest
|
|
|
|
|
|
|
|
*Create Policy Entity Request*
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
- **`name`**: Name that identifies this Policy. Refer to *../../type/basic.json#/definitions/entityName*.
|
|
|
|
- **`displayName`** *(string)*: Title for this Policy.
|
|
|
|
- **`description`**: A short description of the Policy, comprehensible to regular users. Refer to *../../type/basic.json#/definitions/markdown*.
|
|
|
|
- **`owner`**: Owner of this Policy. Refer to *../../type/entityReference.json*.
|
|
|
|
- **`rules`**: Refer to *../../entity/policies/policy.json#/definitions/rules*.
|
|
|
|
- **`enabled`** *(boolean)*: Is the policy enabled. Default: `True`.
|
|
|
|
- **`location`**: UUID of Location where this policy is applied. Refer to *../../type/basic.json#/definitions/uuid*. Default: `None`.
|
|
|
|
|
|
|
|
|
2023-10-28 00:07:31 +05:30
|
|
|
Documentation file automatically generated at 2023-10-27 13:55:46.343512.
|