Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Help Center/ OneAccess/ User Guide/ Enterprise Administrator Guide/ Resources/ APIs/ Authorizing Access to Built-in APIs

Authorizing Access to Built-in APIs

Updated on 2024-12-30 GMT+08:00

You can authorize API access to specific applications.

  1. Log in to the administrator portal.
  2. On the top navigation bar, choose Resources > Enterprise APIs.
  3. On the displayed page, choose System APIs > Built-in APIs, click the Application Authorization tab, and click Authorize in the row that contains the target application to authorize it to access the built-in APIs.
  4. Go to the application details page, and authorize the application to access specific APIs. For details about how to add an application, see Integrating Enterprise Applications.

    NOTE:

    To authorize an application to call auth_api for account binding, registration, or both, ensure that you have set the authentication method of the application to OPEN_API.

    1. On the top navigation bar, choose Resources > Applications.
    2. Click the name of the application authorized in 3.
    3. Click the application icon to access the general information page.
    4. Choose API Permissions > Built-in APIs. On the displayed page, click Authorize in the Operation column of a permission code. The following table lists the mapping between permissions and APIs.
      Table 1 Mapping between permissions and APIs

      Permission Code

      Permission Description

      API Description

      API URL

      Remarks

      user_all

      Read and write permissions for user management APIs

      Creating a user

      POST /api/v2/tenant/users

      -

      Modifying a user

      PUT /api/v2/tenant/users/{user_id}

      -

      Deleting a user

      DELETE /api/v2/tenant/users/{user_id}

      -

      Disabling a user

      PUT /v2/tenant/users/{user_id}/disable

      -

      Enabling a user

      PUT /v2/tenant/users/{user_id}/enable

      -

      Changing the password

      PUT /api/v2/tenant/users/{user_id}/change-password

      -

      Verifying the original password and changing the user password

      PUT /api/v2/tenant/users/{user_id}/change-password-verify

      -

      Authorizing an application account

      POST /api/v2/tenant/users/{user_id}/applications/{application_id}/accounts

      -

      Querying user details by user ID.

      GET /api/v2/tenant/users/{user_id}

      user_read permission

      Obtaining all application accounts of a user

      ​GET /api​/v2​/tenant​/users​/{user_id}​/accounts

      user_read permission

      Querying users

      GET /api/v2/tenant/users

      user_read permission

      org_all

      Read and write permissions for organization management APIs

      Creating an organization

      POST /api/v2/tenant/organizations

      -

      Modifying an organization

      PUT /api/v2/tenant/organizations/{org_id}

      -

      Deleting an organization

      DELETE /api/v2/tenant/organizations/{org_id}

      -

      Querying organization details

      GET /v2/tenant/organizations/{org_id}

      org_read permission

      Querying organizations

      GET /api/v2/tenant/organizations

      org_read permission

      account_all

      Read and write permissions for application account management APIs

      Creating an application account

      POST /api/v2/tenant/applications/{application_id}/accounts/basic-account

      -

      Updating an application account

      PUT /api/v2/tenant/applications/{application_id}/accounts/{account_id}

      -

      Deleting an application account

      DELETE /api/v2/tenant/applications/{application_id}/accounts/{account_id}

      -

      Querying application accounts

      GET /v2/tenant/applications/{application_id}/accounts

      account_read permission

      Querying application accounts

      GET /api/v2/tenant/applications/{application_id}/accounts/{account_id}

      account_read permission

      Disabling an application account

      PUT /api/v2/tenant/applications/{application_id}/accounts/{account_id}/disable

      -

      Enabling an application account

      PUT /api/v2/tenant/applications/{application_id}/accounts/{account_id}/enable

      -

      app_org_all

      Read and write permissions for application organization management APIs

      Querying authorized application organizations

      GET /api/v2/tenant/applications/{application_id}/organizations

      app_org_read permission

      Querying application organization details

      GET /api/v2/tenant/applications/{application_id}/organizations/{org_id}

      app_org_read permission

      Adding an application organization

      POST /api/v2/tenant/applications/{application_id}/organizations

      -

      Modifying an application organization

      PUT /api/v2/tenant/applications/{application_id}/organizations/{org_id}

      -

      Deleting an application organization

      DELETE /api/v2/tenant/applications/{application_id}/organizations/{org_id}

      -

      app_role_all

      Read and write permissions for application role APIs

      Adding an application role

      POST /api/v2/tenant/applications/{application_id}/role

      -

      Modifying an application role

      PUT /api/v2/tenant/applications/{application_id}/role/{role_id}

      -

      Deleting an application role

      DELETE /api/v2/tenant/applications/{application_id}/role/{role_id}

      -

      Adding an application role member

      POST /api/v2/tenant/applications/{application_id}/role-member

      -

      Deleting an application role member

      DELETE /api/v2/tenant/applications/{application_id}/role-member

      -

      Querying application roles

      GET /api/v2/tenant/applications/{application_id}/role-list

      app_role_read

      Querying application role details

      GET /api/v2/tenant/applications/{application_id}/role/{role_id}

      app_role_read

      Querying application role members

      GET /api/v2/tenant/applications/{application_id}/role-member-list/{role_id}

      app_role_read

      all

      Read and write permissions for all OAP APIs

      All preceding APIs

      -

      -

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback