You can call this operation to delete a trail.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteTrail

The operation that you want to perform. Set the value to DeleteTrail.

Name String Yes my-test

The name of the trail that you want to delete.

The name must be 6 to 36 characters in length. It must start with a letter and can contain letters, digits, hyphens (-), and underscores (_).

Note The name must be unique under the account.

Response parameters

Prameter Type Sample response Description
RequestId String 145318BE-DEE1-4C57-AA7C-5BE7D34A6AE0

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=DeleteTrail
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.