Deletes a specified database link from a PolarDB for Oracle cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different software development kits (SDKs).

Request parameters

Parameter Type Required Example Description
Action String No DeleteDBLink

The operation that you want to perform. Set the value to DeleteDBLink.

DBClusterId String Yes pc-**************

The ID of the source cluster where a database link is to be deleted.

Note You can call the DescribeDBClusters operation to query PolarDB clusters.
DBLinkName String Yes dblink_test

The name of the database link to be deleted.

Response parameters

Parameter Type Example Description
RequestId String F9F1CB1A-B1D5-4EF5-A53A-************

The ID of the request.

Samples

Sample requests

http(s)://polardb.aliyuncs.com/? Action=DeleteDBLink
&DBClusterId=pc-**************
&DBLinkName=dblink_test
&<common request parameters>

Sample responses

XML format

<DeleteDBLinkResponse>
      <RequestId>F9F1CB1A-B1D5-4EF5-A53A-************</RequestId>
</DeleteDBLinkResponse>

JSON format

{
    "RequestId":"F9F1CB1A-B1D5-4EF5-A53A-************"
}

Error codes

For a list of error codes, visit the API Error Center.