Querying All Log Settings
Function
Query all log settings.
Calling Method
For details, see Calling APIs.
URI
GET /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. | 
Response Parameters
Status code: 200
| Parameter | Type | Description | 
|---|---|---|
| enabled | Boolean | Whether to enable logging. | 
| lts_id_info | lts_id_info object | Log information. | 
Example Requests
None
Example Responses
Status code: 200
Request succeeded.
{
  "enabled" : true,
  "lts_id_info" : {
    "lts_group_id" : "3f664a8c-53bd-4f77-922d-xxxxxxxxxxxx",
    "lts_attack_stream_id" : "ea9ffec3-6fe4-4884-9dd0-xxxxxxxxxxxx"
  }
}
 Status Codes
| Status Code | Description | 
|---|---|
| 200 | Request succeeded. | 
| 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.
 
    