Deletes a DBLink from a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DeleteDBLink |
delete |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the source cluster that contains the DBLink you want to delete. Note
Call the DescribeDBClusters operation to view the list of PolarDB clusters. |
pc-************** |
| DBLinkName |
string |
Yes |
The name of the DBLink to delete. |
dblink_test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F9F1CB1A-B1D5-4EF5-A53A-************ |
Examples
Success response
JSON format
{
"RequestId": "F9F1CB1A-B1D5-4EF5-A53A-************"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | OperationDenied.DBClusterDeletionLock | The operation is not permitted due to the deletion lock of cluster. | This operation is not supported while a deletion lock exists in the cluster. |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.