curl --request GET \
--url http://localhost:3333/v1/policies/{id}/versions \
--header 'X-API-Key: <api-key>'{
"versions": [
{}
],
"currentVersionId": "<string>",
"pendingVersionId": "<string>"
}Returns all versions for a policy in descending order. Supports both API key authentication and session authentication.
curl --request GET \
--url http://localhost:3333/v1/policies/{id}/versions \
--header 'X-API-Key: <api-key>'{
"versions": [
{}
],
"currentVersionId": "<string>",
"pendingVersionId": "<string>"
}Was this page helpful?