Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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));
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.example.com/v1/regions/global/iam/policies" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
curl --request GET \ --url https://api.example.com/v1/regions/global/iam/policies
import requests url = "https://api.example.com/v1/regions/global/iam/policies" response = requests.get(url) print(response.text)
{ "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?