Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameters

project_area

string

The id of the project project’s ID for which you want to check permissions

registry_id

(optional) The id of the registry registry’s ID for which you want to check permissions.

region

(optional) The registry’s region of the registry for which you want to check permissions.

Note: If registry_id and region are included, the request will check permissions for the caller user at that registry’s level. If those optional parameters are not included, the request will check permissions for the caller user at the project’s level.

...

If successful, the response body contains a list of strings. This list only includes the subset of the inputted permissions , which that the user actually has.

Examples

Example: ['cloudiot.registries.list', 'cloudiot.registries.get']

...

https://iot.clearblade.com/api/v/4/webhook/execute/aae9b9b30c8aa4e49081c7eeb9bb07/policy?method=testIamPermission&project_area=myProject123