You can call this operation to disable a trail.

Request parameters

Name Type Required Example Description
Action String Yes StopLogging The operation that you want to perform. Set the value to StopLogging.
RegionId String Yes cn-hangzhou The ID of the region where the instance is located. For more information about the latest list of Alibaba Cloud regions, see DescribeRegions.
Name String Yes trail-test The name of the trail to be disabled.

Response parameters

Name Type Example Description
RequestId String 145318BE-DEE1-4C57-AA7C-5BE7D34A6AE0 The ID of the request.

Examples

Sample requests

http://actiontrail.cn-hangzhou.aliyuncs.com/?
Action=StopLogging
&RegionId=cn-hangzhou
&Name=trail-test
&<Common request parameters>

Error codes

Error code Description HTTP status code
InvalidBucketNameException The error message returned when the name of the specified OSS bucket is invalid. 400
TrailNotFoundException The error message returned when the specified trail does not exist. 404