Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Get the IAM policy for a specified resource.

HTTP request

GET /api/v/4/webhook/execute/{adminSysKey}/policy?method=getIamPolicy

Query parameters

Parameters

project_area

string

The id of the project for which you want to get the policy.

registry_id

(optional) The id of the registry for which you want the policy.

region

(optional) The region of the registry for which you want the policy.

If registry_id and region are included, the request will return the roles assigned at that registry’s level. If they are not included, the request will return the roles assigned at the project’s level.

Response body

If successful, the response body contains a CbPolicy.

Example

https://iot.clearblade.com/api/v/4/webhook/execute/aae9b9b30c8aa4e49081c7eeb9bb07/policy?method=getIamPolicy&project_area=myProject123&region=us-central1&registry_id=myRegistry123

  • No labels