Deleting a Log
Function
This API is used to delete a log.
Calling Method
For details, see Calling APIs.
URI
DELETE /v1/logtanks/{logtank_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
logtank_id |
Yes |
String |
Specifies the log ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the user token. The token can be obtained by calling the IAM API. The value of X-Subject-Token in the response header is the user token. |
Response Parameters
None
Example Requests
Deleting a log
DELETE https://{ga_endpoint}/v1/logtanks/ac1bf54f-6a23-4074-af77-800648d25bc8
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
Deleted. |
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot