By default, RAM users have no permissions to call Alibaba Cloud APIs. To let a RAM user call the Content Moderation API, grant the AliyunYundunGreenWebFullAccess system policy to that user. This policy grants full access to Content Moderation resources.
Prerequisites
Before you begin, make sure that you have:
An Alibaba Cloud account with RAM administrator privileges
Access to the RAM console
Grant access to a RAM user
Log on to the RAM console as a RAM administrator.
Create a RAM user. For details, see Create a RAM user.
Grant the
AliyunYundunGreenWebFullAccesssystem policy to the RAM user. For details, see Grant permissions to a RAM user.
The RAM user can now call the Content Moderation API.
What's next
After completing the preceding operations, you can call the Content Moderation API as the RAM user.