Help Center/ Cloud Eye/ FAQs/ Troubleshooting/ API/ What Should I Do If I Do Not Have the Programmatic Access Permission When Calling an API?
Updated on 2026-07-24 GMT+08:00

What Should I Do If I Do Not Have the Programmatic Access Permission When Calling an API?

Symptom

When you call an API, the message "code":403,"message":"This user only supports console access, not programmatic access." is displayed.

Possible Causes

The user does not have the programmatic access permission.

Procedure

  1. Log in to IAM console as an administrator.
  2. In the user list, click the name of the user to be modified, or click Security Settings in the Operation column of the user.
  3. Click on the right of Access Type.
  4. In the Change Access Type dialog box, select Programmatic access.
    Figure 1 Changing the access type
  5. Click OK.