Updated on 2026-01-08 GMT+08:00

Deleting Datasource Authentication

Function

This API is used to delete datasource authentication.

Authorization

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see the required permissions in Introduction.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependency

    dli:datasourceauth:delete

    Write

    datasourceauth *

    -

    • dli:datasourceauth:dropAuth

    -

URI

  • URI format

    DELETE /v3/{project_id}/datasource/auth-infos/{auth_info_name}

  • Parameter description
    Table 1 URI parameters

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

    auth_info_name

    Yes

    String

    Name of the authentication information you want to delete

Response

Table 2 Response parameters

Parameter

Type

Description

is_success

Boolean

Whether the request is successfully executed. Value true indicates that the request is successfully executed.

message

String

None

Example Request

None

Example Response

{
    "is_success": true,
    "message": "Deleted success."
}

Status Codes

Status Code

Description

200

OK

Error Codes

For details, see Error Codes.