Deletes a specified log shipping task.

Request syntax

aliyunlog log delete_shipper --project=<value> --logstore=<value> --entity=<value> [--access-id=<value>] [--access-key=<value>] [--sts-token=<value>] [--region-endpoint=<value>] [--client-name=<value>] [--jmes-filter=<value>] [--format-output=<value>] [--decode-output=<value>]

Request parameters

The following table describes the required and specific parameters of the delete_shipper command.
Parameter Type Required Example Description
--project String Yes aliyun-test-project The name of the project.
--logstore String Yes logstore-a The name of the Logstore.
--entity String Yes sls-doc-testshippername The name of the log shipping task.
For information about the global parameters of the Log Service command-line interface (CLI), see Global variables.

Examples

  • Sample requests
    Delete a log shipping task. Run the following command:
    aliyunlog log delete_shipper --project="aliyun-test-project" --logstore="logstore-a" --entity="sls-doc-testshippername"
  • Sample responses

    After you run the command, no responses are returned.