Policies REST Endpoints
Policies
- Create policy
- Method: postPath:
/PASService/rest/services/policies
- Create requirements for a policy
- Method: postPath:
/PASService/rest/services/policies/{policyId}/requirements
- Create role
- Method: postPath:
/PASService/rest/services/policies/{policyId}/roles
- Create segments for a policy
- Method: postPath:
/PASService/rest/services/policies/{id}/segments
- Get a particular segment for a policy
- Method: getPath:
/PASService/rest/services/policies/{policyId}/segments/{segmentId}
- Get a requirement for a policy
- Method: getPath:
/PASService/rest/services/policies/{policyId}/requirements/{requirementId}
- Get all the roles for a policy
- Method: getPath:
/PASService/rest/services/policies/{id}/roles
- Get all the roles for a segment
- Method: getPath:
/PASService/rest/services/policies/{policyId}/segments/{segmentId}/roles
- Get impairment for a policy
- Method: getPath:
/PASService/rest/services/policies/{policyId}/impairments/{impairmentId}
- Get impairments for a policy
- Method: getPath:
/PASService/rest/services/policies/{id}/impairments
- Get list of policies
- Method: getPath:
/PASService/rest/services/policies
- Get list of requirements for a policy
- Method: getPath:
/PASService/rest/services/policies/{id}/requirements
- Get list of segments for a policy
- Method: getPath:
/PASService/rest/services/policies/{id}/segments
- Get policy by Id
- Method: getPath:
/PASService/rest/services/policies/{id}
- Get specific role for a policy
- Method: getPath:
/PASService/rest/services/policies/{policyId}/roles/{roleId}
- Update policy
- Method: putPath:
/PASService/rest/services/policies/{policyId}
- Update requirements for a policy
- Method: putPath:
/PASService/rest/services/policies/{policyId}/requirements/{requirementId}
- Update role
- Method: putPath:
/PASService/rest/services/policies/{policyId}/roles/{roleId}
- Update segments for a policy
- Method: putPath:
/PASService/rest/services/policies/{id}/segments/{segmentId}