Skip to main content
POST
/
admin
/
ai
/
treatments
/
image-genre-release-media-log
/
purge
Purge the ImageGenreRelease MediaLog
curl --request POST \
  --url https://api.example.com/admin/ai/treatments/image-genre-release-media-log/purge \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "imageGenreReleaseID": 1322,
  "mediaLogID": null,
  "shouldReattemptNow": true,
  "shouldPreventFutureTreatments": true,
  "languageID": 1
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
imageGenreReleaseID
integer<int32>
default:1322

required: the image genre release id to purge the media log for

mediaLogID
integer<int32> | null

Optionally limit it to a specific media log id

shouldReattemptNow
boolean | null

optional: if we should also reattempt the treatment right now.

shouldPreventFutureTreatments
boolean | null

optional: if we should also block/prevent any future treatments to this root image. this may be useful if the image is not suitable for treatment, such as a sensitive image or image of tragedy or loss.

languageID
integer<int32>
default:1

Response

Success

success
boolean
data
unknown