Updated on 2024-06-07 GMT+08:00

Disabling Database Proxy

Function

This API is used to disable database proxy of a DB instance.

  • Before calling an API, you need to understand the API in Authentication.

URI

  • URI format

    DELETE /v3/{project_id}/instances/{instance_id}/proxy/{proxy_id}

  • Parameter description
    Table 1 Parameters

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Project ID of a tenant in a region.

    To obtain it, refer to Obtaining a Project ID.

    instance_id

    Yes

    Instance ID.

    proxy_id

    Yes

    Database proxy ID.

Request

  • Parameter description

    None

  • URI example

    DELETE https://rds.ap-southeast-1.myhuaweicloud.com/v3/23a50154cf494ec9ad6883979a12db0a/instances/ba0fd7c13cca4655820e0f858d5d467bin01/proxy/4e2a0c70f70f4807940db73a30b5b522po01

Response

  • Normal response
    Table 2 Parameters

    Parameter

    Type

    Description

    job_id

    String

    Task ID.

  • Example normal response
    { 
      "job_id" : "09908118-8e32-4742-982a-7be194f59e1d" 
    }
  • Abnormal response

    For details, see Abnormal Request Results.

Status Code

Error Code

For details, see Error Codes.