Delete all file with the given FilePurpose for the given entity (probably Course, Company, Student, or Staff)
DELETE
/v1/files/for-entity/{entityId}/{purpose}
curl \
--request DELETE 'https://api.classmanager.io/v1/files/for-entity/cls_xxxxxxxxxxx/class-image'
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (404)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}