object-storage-2
List policy versions
Lists policy versions given by {service_uuid}, and {policy_name}.
get/1.3/object-storage-2/{service-uuid}/policies/{policy-name}/versions
Request
- Base URL: https://api.upcloud.com
- URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/policies/{policy-name}/versions
- Auth: HTTP bearer
Path parameters
service-uuidstring uuid required
The unique identifier for the service.
Example:01234567-89ab-cdef-0123-456789abcdef
Service UUID
policy-namestring required
A resource name.
Example:my-object-storage
The name of the policy.
Response
OK
Example response
[
{
"create_date": "2024-03-25T12:47:40Z",
"document": "%7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Action%22%3A%5B%22*%22%5D%2C%22Resource%22%3A%22*%22%2C%22Effect%22%3A%22Deny%22%7D%5D%7D",
"is_default": false,
"version_id": "v4"
},
{
"create_date": "2024-03-25T12:47:38Z",
"document": "%7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Action%22%3A%5B%22*%22%5D%2C%22Resource%22%3A%22*%22%2C%22Effect%22%3A%22Deny%22%7D%5D%7D",
"is_default": false,
"version_id": "v3"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.