Updating All User Log Settings
Function
Updating all user log settings.
Calling Method
For details, see Calling APIs.
URI
PUT /v1/{project_id}/antiddos/lts-config
| Parameter | Mandatory | Type | Description | 
|---|---|---|---|
| project_id | Yes | String | Project ID. | 
| Parameter | Mandatory | Type | Description | 
|---|---|---|---|
| enterprise_project_id | Yes | String | Enterprise project ID. | 
Request Parameters
| Parameter | Mandatory | Type | Description | 
|---|---|---|---|
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. | 
| Content-Type | Yes | String | Content-Type request header. | 
| Parameter | Mandatory | Type | Description | 
|---|---|---|---|
| enabled | No | Boolean | Whether to enable logging. | 
| lts_id_info | No | lts_id_info object | Log information. | 
Response Parameters
Status code: 200
OK
None
Example Requests
None
Example Responses
Status code: 200
OK
{
  "error_code" : "0",
  "error_msg" : "Success."
}
 Status Codes
| Status Code | Description | 
|---|---|
| 200 | OK | 
| 401 | Unauthorized | 
| 403 | Forbidden | 
| 404 | Not Found | 
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
 
    