Deleting a Component Based on the Component ID (V2)
Function
This API is used to delete a specified component.
URI
DELETE /v2/cmdb/apps/{application_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
application_id |
Yes |
String |
Application ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
|
x-business-id |
Yes |
Long |
Application ID. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
ok |
String |
ok: The deletion is successful. |
Example Requests
Delete an application based on the application ID.
/v2/cmdb/apps/352585
Example Responses
Status code: 200
OK: The request is successful.
{
"ok" : "ok"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK: The request is successful. |
|
400 |
Bad Request: Semantic or parameter error. |
|
401 |
Unauthorized: No permissions. |
|
403 |
Forbidden: Access forbidden. |
|
404 |
Not Found: The requested resource is not found. |
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot