Get Permission Accesses V3
POST/iam/api/v3/permission/:permission-id/list_access
Returns a page of permission's last acceses and a page token for the next page if applicable
Request
Path Parameters
permission-id stringrequired
The permission id. Can be retrieved from search/permission api
Example: 06c3cb4403ac276ff59679139b8e6afca2afe93100c8b39014f033ca0339ff0f
Query Parameters
limit int32
Query records limit
Example: 5
- application/json
Body
required
query stringrequired
Query string
nextPageToken string
Page Token
Responses
- 200
- 400
- 401
- 403
- 404
- 429
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object
Permissions last access list
items object[]
items list
destCloudResourceName string
Destination cloud resource name
lastAccessDate string
Action last access date in the format of a unix timestamp
destCloudRegion string
Action last access region
destCloudAccount string
Action last access account name
nextPageToken string
Next page token
totalRows int64
Total rows count
{
"data": {
"items": [
{
"destCloudResourceName": "my-function",
"lastAccessDate": "1593691785",
"destCloudRegion": "AWS Virginia",
"destCloudAccount": "account_name"
}
],
"nextPageToken": "iam/api/{apiVersion}/{apiPath}?page-token=Q74589g444gg",
"totalRows": 1243
}
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
target string
details string[]
innerError
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
"string"
]
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
target string
details string[]
innerError
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
"string"
]
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
target string
details string[]
innerError
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
"string"
]
}
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringrequired
message stringrequired
target string
details string[]
innerError
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
"string"
]
}
}
Throttled
Response Headers
X-RateLimit-Remaining integer
X-RateLimit-Requested-Tokens integer
X-RateLimit-Burst-Capacity integer
X-RateLimit-Replenish-Rate integer
Loading...