Deleting a Component Based on the Component ID
Function
This API is used to delete a specified component.
URI
DELETE /v1/apm2/openapi/cmdb/apps/delete-app/{application_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
application_id |
Yes |
Long |
Component ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
x-business-id |
Yes |
Long |
Application ID, which is used for authentication. |
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
ok |
String |
ok: The deletion is successful. |
Example Requests
Delete component 1.
/v1/apm2/openapi/cmdb/apps/delete-app/1
Example Responses
Status code: 200
Result returned when you delete an application. ok: The deletion is successful.
{'ok'="ok"}
Status Codes
Status Code |
Description |
---|---|
200 |
Result returned when you delete an application. ok: The deletion is successful. |
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