Models Hub
API ReferenceLogs

Delete historical logs

Delete historical request logs visible to the current user.

Edit this page
DELETE
/api/log/

Authorization

AuthorizationBearer <token>

Authenticate using an Authorization Bearer API Key.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/api/log/" \  -H "Content-Type: application/json" \  -d '{    "ids": [      0    ]  }'
{
  "success": true,
  "message": "string",
  "data": null
}