Compares the current policy state with the original imported version
POST /compare/policy/original/{policyId}
Compare policies with original state. Only users with the Standard Registry role are allowed to make the request.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
policyId
string
Policy ID
Response
{
description: Successful operation.
content:
application/json:
schema:
$ref: '#/components/schemas/ComparePoliciesDTO'
}{
description: Unauthorized.
}{
description: Forbidden.
}{
description: Internal server error.
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorDTO'
}Last updated
Was this helpful?