All Products
Search
Document Center

Simple Message Queue (formerly MNS):SetAccountAttributes

Last Updated:Aug 05, 2026

Sets the user log configuration.

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

MessageTraceEnabled

boolean

No

Specifies whether to enable the message trace feature.

true

LogEnabled

boolean

No

Specifies whether to enable the log management feature.

true

LogStoreName

string

No

The name of the Simple Log Service Logstore.

test-logstore

ProjectName

string

No

The name of the Simple Log Service project.

test-project

ClientToken

string

No

Ensures the idempotence of the request. Generate a parameter value from your client to ensure that the value is unique across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.

06273500-249

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

06273500-249F-5863-121D-74D51123E62C

Code

integer

The response code.

200

Status

string

The response status.

Success

Message

string

The response message.

operation success

Success

boolean

Indicates whether the request was successful.

true

Examples

Success response

JSON format

{
  "RequestId": "06273500-249F-5863-121D-74D51123E62C",
  "Code": 200,
  "Status": "Success",
  "Message": "operation success",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.