Help Center/ IoT Device Access/ FAQs/ Solution Consulting/ What Should I Do If I Want to Call an API But Have No Permissions to Do So as an IAM User? (Is It Edition-specific?)
Updated on 2024-10-31 GMT+08:00

What Should I Do If I Want to Call an API But Have No Permissions to Do So as an IAM User? (Is It Edition-specific?)

Policy-based permission control is available in IoTDA since April 23, 2020. If an IAM user is not granted the permissions on IoTDA, the message "Operation not allowed. The user does not have the permission" will be displayed when you use the IAM user to access IoTDA resources. To assign permissions of the IoTDA FullAccess policy to the user group that the IAM user belongs to, do as follows:

Procedure:

  1. Visit IAM and click Try Free to access the IAM console.
  2. In the navigation pane, choose User Groups. Click Authorize in the row of the target user group.

  3. Search by IoTDA, select IoTDA FullAccess, and click Next in the lower right corner.

  4. Set the scope.

    1. Select Region-specific projects.
    2. Enter search criteria in the search box and select the region to be authorized from the drop-down list box.

      If the token is domain-level, select all projects. If the token is project-level, select one or more specific projects.

    3. Click OK in the lower right corner to complete the authorization.