General Information
Policy Type
Description
Policy Group is a container policy that groups multiple policies together. It allows organizing and managing related policies as a single unit. This policy type is currently in development and may have limited functionality. Note: This policy type is currently under development. The implementation may be incomplete or subject to change.Endpoints
List Policies
Add Policy
Update Policy
Delete Policy
List Policies
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer {token} |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name |
Response
Success Response (200 OK)
cURL Example
Add Policy
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer {token} |
| Content-Type | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name |
| policyName | string | Yes | Policy name (must match name in body) |
Request Body
Full JSON Body Example - Basic Policy Group
Request Body Fields
Common Policy Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| type | string | Yes | - | Policy type: policy-group |
| name | string | Yes | - | Policy name (must match path parameter) |
| description | string | No | - | Policy description |
| active | boolean | No | true | Whether policy is active |
| operationMetadata | object | Yes | - | Policy operation metadata. See PolicyOperationMetadataDTO |
| condition | object | Yes | - | Policy condition. See PolicyConditionDTO |
PolicyOperationMetadataDTO (operationMetadata)
| Field | Type | Required | Description | |
|---|---|---|---|---|
| targetScope | string | Yes | Target scope. See EnumPolicyTargetScope | |
| targetEndpoint | string | No | Target endpoint path (if targetScope is ENDPOINT) | |
| targetEndpointHTTPMethod | string | No | Target endpoint HTTP method (if targetScope is ENDPOINT) | |
| targetPipeline | string | Yes | Target pipeline. See EnumPolicyTargetPipeline | |
| deploy | boolean | No | true | Whether to deploy immediately |
| deployTargetEnvironmentNameList | array | No | [] | List of environment names to deploy to |
| order | integer | No | - | Policy execution order |
EnumPolicyTargetScope (operationMetadata.targetScope)
API_PROXY- Apply to entire API ProxyENDPOINT- Apply to specific endpointGLOBAL- Apply globally
EnumPolicyTargetPipeline (operationMetadata.targetPipeline)
REQUEST- Request pipelineRESPONSE- Response pipelineERROR- Error pipeline
PolicyConditionDTO
| Field | Type | Required | Description |
|---|---|---|---|
| criteria | string | Yes | Condition criteria. See EnumConditionCriteria |
| rules | array | Yes | List of condition rules. See ConditionRuleDTO |
EnumConditionCriteria (condition.criteria)
ALWAYS- Always execute policyIF_ALL_MATCH- Execute if all rules matchIF_ANY_MATCH- Execute if any rule matchesIF_NONE_MATCH- Execute if no rules match
ConditionRuleDTO (condition.rules item)
See Add Policy for detailed documentation. The structure matches theConditionRuleDTO defined in the Add Policy documentation.
Notes
- This policy type is currently under development.
- Policy Group specific fields may be added in future versions.
- Currently, Policy Group acts as a container for organizing policies.
Response
Success Response (200 OK)
cURL Example
Update Policy
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer {token} |
| Content-Type | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name |
| policyName | string | Yes | Policy name (must match name in body) |
Request Body
Note: Request body structure is the same as Add Policy. All fields should be provided for update.Response
Success Response (200 OK)
Delete Policy
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer {token} |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name |
| policyName | string | Yes | Policy name |
Response
Success Response (200 OK)
Notes and Warnings
-
Development Status:
- This policy type is currently under development
- Implementation may be incomplete
- Functionality may change in future versions
-
Purpose:
- Policy Group is intended to group multiple policies together
- Allows organizing and managing related policies as a single unit
- May provide additional functionality in future versions
-
Usage:
- Currently acts as a container for organizing policies
- Specific group functionality may be added later
- Check latest documentation for updates
-
Deployment: Policy changes require deployment to take effect. Set
deploy: trueinoperationMetadataor deploy manually.
Related Documentation
- List Policies - List all policies
- Add Policy - General policy addition guide
- Update Policy - General policy update guide
- Delete Policy - General policy deletion guide

