Read permissions for enrolled IAM roles
Reads the permissions JSON string to be attached to the user-defined IAM role that can access an S3 Instant Access endpoint.
Path Parameters
- endpoint_id string required
ID of the endpoint to update a role
Responses
- 200
- default
Success
- application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
_links object
- permissions string
The permissions JSON string to be attached to the user's IAM role to allow access to the Instant Access endpoint.
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
}
},
"permissions": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
GET /restores/protection-groups/instant-access-endpoints/:endpoint_id/roles/permissions
Authorization
Request
Request
curl -L -X GET 'https://us-west-2.api.clumio.com/restores/protection-groups/instant-access-endpoints/:endpoint_id/roles/permissions' \
-H 'Accept: application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/restores/protection-groups/instant-access-endpoints/:endpoint_id/roles/permissions' \
-H 'Accept: application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/restores/protection-groups/instant-access-endpoints/:endpoint_id/roles/permissions' \
-H 'Accept: application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/restores/protection-groups/instant-access-endpoints/:endpoint_id/roles/permissions' \
-H 'Accept: application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/restores/protection-groups/instant-access-endpoints/:endpoint_id/roles/permissions' \
-H 'Accept: application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/restores/protection-groups/instant-access-endpoints/:endpoint_id/roles/permissions' \
-H 'Accept: application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://us-west-2.api.clumio.com/restores/protection-groups/instant-access-endpoints/:endpoint_id/roles/permissions' \
-H 'Accept: application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json' \
-H 'Authorization: Bearer <TOKEN>'