Deleting a Tracker

Function

This API is used to delete an existing tracker from the Cloud Trace Service (CTS) console. Deleting a tracker has no impact on the operation records generated. When you enable CTS again, you can view those operation records.

URI

DELETE /v1.0/{project_id}/tracker?tracker_name={tracker_name}

For details about the parameters, see Table 1.
Table 1 Parameters in the URI

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

tracker_name

No

String

Tracker name.

If this parameter is not specified, the global tracker will not be deleted.

Request

  • Parameters

    None.

  • Example request
    DELETE /v1.0/{project_id}/tracker?tracker_name=system

Response

  • Parameters

    None.

  • Example response

    None.

Returned Values

  • Normal
    Table 2 Return code for successful requests

    Returned Value

    Description

    204

    Deleted successfully.

  • Abnormal
    Table 3 Return code for failed requests

    Returned Value

    Description

    400

    The server failed to process the request.

    404

    The server failed to find the requested resource or deleting some trackers failed.

    500

    The request failed to be executed or some trackers failed to be deleted.

    401

    Your access request is rejected.

    403

    You are forbidden to access the requested page.