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>"
}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>"
}The access token received from the authorization server in the OAuth 2.0 flow.
required: the image genre release id to purge the media log for
Optionally limit it to a specific media log id
optional: if we should also reattempt the treatment right now.
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.