Lists policy members
GET/iam/policies/:id/members
Lists all members of a specific policy.
Authorization Action:
iam:policyMembers:get
Request
Path Parameters
id stringrequired
ID of the policy.
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
members string[]
List of policy members.
{
"members": [
"team:local:viewers",
"user:local:test"
]
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...