Deleting a Link
Function
This API is used to delete a link.
Calling Method
For details, see Calling APIs.
URI
DELETE /v1.1/{project_id}/clusters/{cluster_id}/cdm/link/{link_name}
Parameter | Mandatory | Type | Description |
|---|---|---|---|
project_id | Yes | String | Project ID. For details about how to obtain it, see Project ID and Account ID. |
cluster_id | Yes | String | Cluster ID |
link_name | Yes | String | Name of the link to be deleted |
Request Parameters
Parameter | Mandatory | Type | Description |
|---|---|---|---|
X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). |
Response Parameters
Status code: 200
Request succeeded.
Status code: 500
Parameter | Type | Description |
|---|---|---|
errCode | String | Error code |
externalMessage | String | Error message |
Example Requests
DELETE /v1.1/1551c7f6c808414d8e9f3c514a170f2e/clusters/6ec9a0a4-76be-4262-8697-e7af1fac7920/cdm/link/jdbclink
Example Responses
Status code: 500
Internal service error. For details about the returned error code, see Error Codes.
{
"errCode" : "Cdm.0021",
"externalMessage" : "Given link name is in use"
} Status Codes
Status Code | Description |
|---|---|
200 | Request succeeded. |
400 | Request error. |
401 | Authentication failed. |
403 | No operation permissions. |
404 | No resources found. |
500 | Internal service error. For details about the returned error code, see Error Codes. |
503 | Service unavailable. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

