All Products
Search
Document Center

ActionTrail:StopLogging

Last Updated:Oct 22, 2025

You can call this operation to disable logging for a trail.

Debugging

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

ParameterTypeRequiredExampleDescription
ActionStringYesStopLogging

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

NameStringYestrail-test

The name of the trail for which you want to disable logging.

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

Note The name must be unique under the account.

Response parameters

ParameterTypeExampleDescription
RequestIdString145318BE-DEE1-4C57-AA7C-5BE7D34A6AE0

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=StopLogging
&Name=trail-test
&<Common request parameters>

Sample success responses

JSON format

{
    "RequestId":"1C488B66-B819-4D14-8711-C4EAAA13AC01"
}

Error code

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