/
queryGrantableRoles
queryGrantableRoles
List all grantable roles on a specified resource.
Note: This is an admin API.
HTTP request
GET /api/v/4/webhook/execute/{adminSysKey}/policy?method=queryGrantableRoles
Query parameters
Parameters | |
---|---|
|
Certain roles are grantable only at the registry or project level. Specify which level you want to list. |
|
The project ID for which you want to list grantable roles. |
Response body
If successful, the response body contains a list of IoTRoles.
Example
https://iot.clearblade.com/api/v/4/webhook/execute/aae9b9b30c8aa4e49081c7eeb9bb07/policy?method=queryGrantableRolesmethod=queryGrantableRoles&resource_level=project&project_area=myProject123
, multiple selections available,
Related content
testIamPermissions
testIamPermissions
More like this
projects.locations.registries
projects.locations.registries
Read with this
getIamPolicy
getIamPolicy
More like this
bindDeviceToGateway
bindDeviceToGateway
Read with this
Admin and regional API differences
Admin and regional API differences
Read with this
cloudiot
cloudiot
Read with this