Deleting a Tracker
Function
This API is used to delete a tracker. Deleting a tracker will not delete collected operation records. When you enable CTS again, you can still view those operation records.
URI
DELETE /v1.0/{project_id}/tracker
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Identifies a project. For details, see section "Obtaining the Account ID and Project ID" in Cloud Trace Service API Reference. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
tracker_name |
Yes |
String |
Indicates the tracker name. If this parameter is not specified, all trackers in your account will be deleted. Currently, only one management tracker is available for one account and the tracker name is system. |
Request Parameters
None
Response Parameters
None
Example Requests
DELETE https://{endpoint}/v1.0/{project_id}/tracker?tracker_name=system
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
The deletion is successful. |
400 |
The server failed to process the request. |
401 |
The request is rejected due to authentication failure. |
403 |
The server understood the request but refused to authorize it. |
404 |
The server failed to find the requested resource or some trackers failed to be deleted. |
500 |
The server has received the request but encountered an internal error, or some trackers failed to be deleted. |
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