SetAccountAttributes
Configures user log settings.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mns:SetAccountAttributes |
update |
*All Resource
|
None | None |
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. You can generate the value on your client to ensure that the value is unique across different requests. The ClientToken parameter supports only ASCII characters and can be up to 64 characters in length. For more information, see Ensure idempotence. |
06273500-249 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
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 is 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.