Get Policy At Version

Changed on

Get the reconstructed policy state at a specific version.

The policy state is reconstructed by applying version diffs in reverse.

Docs: Guide | API Reference

Raises: ResourceNotFoundError: If the policy or version does not exist.

get/policies/{policy_id}/versions/{version_id}

Request

Path parameters

policy_idstring required
version_idstring required

Response

Successful Response

idstring required
policy_idstring required
operationstring required
timestampstring date-time nullable
user_idstring nullable

Changes

    • breaking

      the response's property type changed from array to string for status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      the response property became required for the status

    • info

      added the required property to the response with the status