Manage the conditions that are applied on the specified policy.
- Update Policy Condition
Adaptive Policy Management (0.0.9)
The Adaptive Policy Management REST APIs and Model, allow the creation, deletion, and modification of policies, policy sets, and assigning policies to policy sets. All policies must be inherited from a policy template. Only those evaluation conditions that are defined for the template can be assigned to the policy. Once a policy is assigned to a policy set, it must be given an evaluation priority. If the priority is changed, or a policy added or removed, the priority of the other policies will be automatically re-ordered.
- Create, modify, and delete policies
- Manage policy sets and assignments
- Configure policy templates and evaluation conditions
- Set and manage policy priorities
The API uses standard HTTP status codes with detailed error messages in the response body.
All endpoints may return these common error responses:
- 400 Bad Request: Invalid input data or validation errors
- 401 Unauthorized: Missing or invalid authentication
- 403 Forbidden: Insufficient permissions
- 404 Not Found: Requested resource doesn't exist
- 409 Conflict: Resource conflict (e.g., duplicate names)
- 422 Unprocessable Entity: Business rule violations
- 500 Internal Server Error: Unexpected server errors
https://api.ruckus.cloud/
https://api.eu.ruckus.cloud/
https://api.asia.ruckus.cloud/
- RUCKUS One API host for North American region.
https://api.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions
- RUCKUS One API host for European region.
https://api.eu.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions
- RUCKUS One API host for Asian region.
https://api.asia.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
No request payload{ "paging": { "totalCount": 0, "page": 0, "pageSize": 0, "pageCount": 0 }, "content": [ { … } ], "_links": { "property1": { … }, "property2": { … } } }
- application/json
- application/vnd.ruckus.v1+json
The identifier for the template attribute to associate with this condition.
Attribute that is allowed to be assigned on a policy using the template.
Base class for evaluation criteria used in policy conditions. Supports different types of criteria including boolean, number, string regex, and date range evaluations.
- RUCKUS One API host for North American region.
https://api.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions
- RUCKUS One API host for European region.
https://api.eu.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions
- RUCKUS One API host for Asian region.
https://api.asia.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b", "templateAttributeId": 0, "templateAttribute": { "id": 0, "name": "string", "description": "string", "attributeTextMatch": "string", "attributeType": "STRING", "category": "string", "_links": { … } }, "evaluationRule": { "criteriaType": "string", "booleanCriteria": true }, "_links": { "property1": { … }, "property2": { … } } }
Condition created
- application/json
- application/vnd.ruckus.v1+json
The identifier for the template attribute to associate with this condition.
Attribute that is allowed to be assigned on a policy using the template.
Base class for evaluation criteria used in policy conditions. Supports different types of criteria including boolean, number, string regex, and date range evaluations.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b", "templateAttributeId": 0, "templateAttribute": { "id": 0, "name": "string", "description": "string", "attributeTextMatch": "string", "attributeType": "STRING", "category": "string", "_links": { … } }, "evaluationRule": { "criteriaType": "string", "booleanCriteria": true }, "_links": { "property1": { … }, "property2": { … } } }
- RUCKUS One API host for North American region.
https://api.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions/{conditionId}
- RUCKUS One API host for European region.
https://api.eu.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions/{conditionId}
- RUCKUS One API host for Asian region.
https://api.asia.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions/{conditionId}
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
No request payloadSuccess
- application/json
- application/vnd.ruckus.v1+json
The identifier for the template attribute to associate with this condition.
Attribute that is allowed to be assigned on a policy using the template.
Base class for evaluation criteria used in policy conditions. Supports different types of criteria including boolean, number, string regex, and date range evaluations.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b", "templateAttributeId": 0, "templateAttribute": { "id": 0, "name": "string", "description": "string", "attributeTextMatch": "string", "attributeType": "STRING", "category": "string", "_links": { … } }, "evaluationRule": { "criteriaType": "string", "booleanCriteria": true }, "_links": { "property1": { … }, "property2": { … } } }
- RUCKUS One API host for North American region.
https://api.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions/{conditionId}
- RUCKUS One API host for European region.
https://api.eu.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions/{conditionId}
- RUCKUS One API host for Asian region.
https://api.asia.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions/{conditionId}
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
No request payload{}
- RUCKUS One API host for North American region.
https://api.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions/{conditionId}
- RUCKUS One API host for European region.
https://api.eu.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions/{conditionId}
- RUCKUS One API host for Asian region.
https://api.asia.ruckus.cloud/policyTemplates/{templateId}/policies/{policyId}/conditions/{conditionId}
- Payload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
{ "templateAttributeId": 0, "evaluationRule": { "criteriaType": "string", "booleanCriteria": true } }
Policy condition updated
- application/json
- application/vnd.ruckus.v1+json
The identifier for the template attribute to associate with this condition.
Attribute that is allowed to be assigned on a policy using the template.
Base class for evaluation criteria used in policy conditions. Supports different types of criteria including boolean, number, string regex, and date range evaluations.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b", "templateAttributeId": 0, "templateAttribute": { "id": 0, "name": "string", "description": "string", "attributeTextMatch": "string", "attributeType": "STRING", "category": "string", "_links": { … } }, "evaluationRule": { "criteriaType": "string", "booleanCriteria": true }, "_links": { "property1": { … }, "property2": { … } } }