# Delete files for entity **DELETE /v1/files/for-entity/{entityId}/{purpose}** Delete all file with the given FilePurpose for the given entity (probably Course, Company, Student, or Staff) ## Servers - Development Server: https://api-dev.classmanager.io (Development Server) - Localhost: https://localhost (Localhost) - Local (Valet): https://classmanager.test (Local (Valet)) - Staging Server: https://api-stage.classmanager.io (Staging Server) - Production Server: https://api.classmanager.io (Production Server) ## Parameters ### Path parameters - **entityId** (string) Entity ID - **purpose** (string) File purpose ## Responses ### 403 Not authorized #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception ### 404 Not found #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception ### 204 Successful operation with no content [Powered by Bump.sh](https://bump.sh)