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