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-08-27 10:55:55 +02:00
|
|
|
Documentation file automatically generated at 2023-07-07 05:50:35.981927.
|