Skip to content

Latest commit

 

History

History
49 lines (43 loc) · 1.26 KB

running-policy-without-making-any-changes.md

File metadata and controls

49 lines (43 loc) · 1.26 KB

Running Policy without making any changes

{% swagger expanded="false" method="put" path="" baseUrl="/policies/{policyId}/dry-run" summary="Dry Run policy" %} {% swagger-description %} Run policy without making any persistent changes or executing transaction. Only users with the Standard Registry role are allowed to make the request. {% endswagger-description %}

{% swagger-parameter in="path" name="policyId" type="String" required="true" %} Policy ID {% endswagger-parameter %}

{% swagger-response status="200: OK" description="Successful Operation" %}

{
     content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublishPolicy'
}

{% endswagger-response %}

{% swagger-response status="401: Unauthorized" description="Unauthorized" %}

{
    // Response
}

{% endswagger-response %}

{% swagger-response status="403: Forbidden" description="Forbidden" %}

{
    // Response
}

{% endswagger-response %}

{% swagger-response status="500: Internal Server Error" description="Internal Server Error" %}

{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
}

{% endswagger-response %} {% endswagger %}