/
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
Admin and regional API differences
Admin and regional API differences
More like this
setIamPolicy
setIamPolicy
Read with this
policy
policy
Read with this
testIamPermissions
testIamPermissions
Read with this
bindDeviceToGateway
bindDeviceToGateway
Read with this
getIamPolicy
getIamPolicy
Read with this