DELETE
/
aicontent
/
oldbatches
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Body

application/json
currentBatchId
string
required
type
string

Response

200 - application/json
Ok
deleted
any
required
success
boolean
required