Enabling the Function of Reporting Logs to LTS
Function
This API is used to enable the function of reporting logs to LTS.
URI
POST /v2/{project_id}/fgs/functions/enable-lts-logs
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Tenant's project ID. For details about how to obtain the value, see Obtaining a Project ID. |
Request Parameters
None
Response Parameters
None
Example Request
POST https://{functiongraph_endpoint}/v2/7aad83af3e8d42e99ac194e8419e2c9b/fgs/functions/enable-lts-logs
Example Response
Status code: 200
OK
""
Status code: 400
Bad request
{
"error_code" : "FSS.1128",
"error_msg" : "get user[xxx] permission enterprise failed"
}
Status code: 403
Forbidden
{
"error_code" : "FSS.0403",
"error_msg" : "invalid token"
}
Status code: 429
Too many requests
{
"error_code" : "FSS.0429",
"error_msg" : "api is busy now"
}
Status code: 500
Internal server error
{
"error_code" : "FSS.0500",
"error_msg" : "create group [xxx] failed:xxx,errMsg:xxx"
}
Status Code
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
400 |
Bad request |
|
403 |
Forbidden |
|
429 |
Too many requests |
|
500 |
Internal server error |
Error Code
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot