Get Policy Versions

Changed on

Get version history for a policy.

Returns a list of all versions (metadata only) ordered by timestamp descending.

Docs: Guide | API Reference

Raises: ResourceNotFoundError: If the policy does not exist.

get/policies/{policy_id}/versions

Request

Path parameters

policy_idstring required

Response

Successful Response

policy_idstring required
totalinteger required

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

      the response property became required for the status

    • info

      added the required property to the response with the status