/api/server/clear_temp

Delete temporary files in your temp directory (useful for cleaning up after exports, failed uploads, etc).

Info

This endpoint requires authentication.

Info

This endpoint requires administrator privileges or higher.

DELETE
Request

Remove all files in the server's temporary directory.

Response

Status: 200 OK

Content-Type: application/json

PropertyTypeDescription
statusstringStatus message about the operation.

Example

{
"status": "Cleared 5 temporary files."
}


Last updated: 6/1/2025
Edit this page on GitHub