cURL
curl --request DELETE \ --url https://api.gleap.io/v3/aicontent/oldbatches \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'project: <project>' \ --data '{ "type": "<string>", "currentBatchId": "<string>" }'
{ "deleted": "<any>", "success": true }
Delete all AI content except the current batch
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Ok
The response is of type object.
object