Deletes a specified database link from a PolarDB for PostgreSQL(Compatible with 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

ParameterTypeRequiredExampleDescription
ActionStringNoDeleteDBLink

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

DBClusterIdStringYespc-**************

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.
DBLinkNameStringYesdblink_test

The name of the database link to be deleted.

Response parameters

ParameterTypeExampleDescription
RequestIdStringF9F1CB1A-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.