You can call the Content Moderation API as a RAM user. Before calling the Content Moderation API, make sure that you have created a RAM user and granted relevant permissions to the RAM user. This topic describes how to grant relevant permissions to the RAM user.

Procedure

  1. Log on to the RAM console by using your Alibaba Cloud account.
  2. Create a RAM user.

    For more information, see Create a RAM user.

  3. Grant the AliyunYundunGreenWebFullAccess system policy to the RAM user.

    For more information, see Grant permissions to a RAM user.

    After completing the preceding operations, you can call the Content Moderation API as the RAM user.