All Products
Search
Document Center

Cloud Firewall:ModifySlsDispatchStatus

Last Updated:Dec 15, 2025

Modifies the log delivery status for Simple Log Service (SLS).

Operation description

QPS limits

The queries per second (QPS) limit for this API is 10 calls per second for each user. If you exceed this limit, API calls are throttled. This can adversely affect your business. We recommend that you call the API at a reasonable rate.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

EnableStatus

boolean

No

Specifies whether to deliver logs. `true`: Deliver logs. `false`: Do not deliver logs.

true

DispatchValue

string

No

The key for the log category. Valid values:

internet_log

vpc_firewall_log

nat_firewall_log

ipv6_firewall_log

dns_firewall_log

internet_log

FilterKeys

string

No

The supported filter conditions. Valid values:

attack

acl

other

attack,acl

NewRegionId

string

No

The region.

cn-shanghai

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

CE901E31-4AE9-579D-AC37-D2F1BB43****

Examples

Success response

JSON format

{
  "RequestId": "CE901E31-4AE9-579D-AC37-D2F1BB43****"
}

Error codes

HTTP status code

Error code

Error message

Description

400 IllegalOperation Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes. Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.