TypeScript
const options = {method: 'GET'}; fetch('https://api.example.com/v1/regions/global/iam/policies', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": [ { "id": "<string>", "roleId": "<string>", "principalType": "user", "principalId": "<string>", "scope": { "type": "organization", "id": "<string>" }, "createdAt": "2023-11-07T05:31:56Z" } ] }
List role bindings at org/project/resource level
Filter by scope type
organization
project
resource
Filter by scope ID
Filter by principal
List of policy bindings
true
Show child attributes
Was this page helpful?