Lists policy members
GEThttps://apis.<domain>/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
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://apis.<domain>/iam/policies/:id/members' \
-H 'Accept: application/json'