检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Applying for API Authorization If you are an API developer and want to call an API which uses app or IAM authentication, you must apply for API authorization. Calling the API. After completing the preceding steps, you can call the API.
You have configured workspace-level scheduling identities, including public agencies and public IAM accounts. For details, see Configuring a Public Agency and Configuring a Public IAM Account.
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication. Table 3 FormData parameters Parameter Mandatory Type Description type Yes String Type of the resource to be uploaded.
X-Auth-Token Yes String IAM Token Minimum length: 0 Maximum length: 4096 Content-Type No String This parameter is mandatory if the body is available. If the body is unavailable, you do not need to set and verify this parameter.
Creating an IAM user and assigning DataArts Studio permissions to the user Create an IAM user with the DAYU User permissions for a project member who wants to use DataArts Studio and assign a workspace role to the created user.
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication.
You can obtain it from the value of X-Subject-Token in the response message header returned by the "Obtaining a User Token" API of the IAM service. workspace Yes String Workspace ID. For details about how to obtain it, see Instance ID and Workspace ID.
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication.
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication. Table 3 Request body parameters Parameter Mandatory Type Description detail No String This field is used only when you enter handling comments or close an issue.
It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Table 3 Request body parameters Parameter Mandatory Type Description stop Yes stop object Cluster stop operation. For details, see the descriptions of stop parameters.
Application authentication: Step 3 in "Preparations for Using the SDK" IAM authentication for an API in DataArts DataService Exclusive published to the gateway: An API using the IAM authentication method cannot directly access the cluster through token authentication. 401 Authorization
On the API Credentials page, obtain the account name, account ID, IAM username, and IAM user ID, and obtain the project and its ID from the project list.
Users with the Tenant Administrator permissions can perform all operations except IAM user management. For security purposes, you are not advised to grant the Tenant Administrator permissions to IAM users.
Enumerated values: APP: app IAM: IAM APIG: APIG (discarded) APIGW: APIGW (deprecated) DLM: DataArts DataService (deprecated) ROMA_APIC: ROMA (deprecated) Status code: 400 Table 4 Response body parameters Parameter Type Description error_code String Error code. error_msg String Error
Users with Tenant Administrator permissions can perform all operations except IAM user management. For security purposes, you are not advised to grant Tenant Administrator permissions to IAM users.
User information has been synchronized from IAM to the data source. For details, see Synchronizing IAM Users to the Data Source.
X-Auth-Token Yes String IAM token. For details about how to obtain the token, see Authentication.
X-Auth-Token No String IAM Token Minimum length: 0 Maximum length: 4096 Content-Type No String This parameter is mandatory if the body is available. If the body is unavailable, you do not need to set and verify this parameter.
You can obtain it from the value of X-Subject-Token in the response message header returned by the "Obtaining a User Token" API of the IAM service. workspace Yes String Workspace ID. For details about how to obtain it, see Instance ID and Workspace ID.
Enumerated values: APP: app IAM: IAM APIG: APIG (discarded) APIGW: APIGW (deprecated) DLM: DataArts DataService (deprecated) ROMA_APIC: ROMA (deprecated) Status code: 400 Table 5 Response body parameters Parameter Type Description error_code String Error code. error_msg String Error