• Cloud Trace Service

cts
  1. Help Center
  2. Cloud Trace Service
  3. API Reference
  4. API Description
  5. Tracker Management
  6. Deleting a Tracker

Deleting a Tracker

Function

This API is used to delete a tracker. 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 Deleting a Tracker.
Table 1 Parameters in the URI

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

tracker_name

No

String

Specifies the tracker name.

If this parameter is not specified, all trackers of a user will be deleted.

Currently, only tracker "system" is available.

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.