Delete Files API Documentation

    Introduction

    The Delete Files API allows clients to delete files from a specified directory (sessions/deleted) and move them to the recycle bin.

    Endpoint

    Method: DELETE

    URL: /delete-deleted-accounts

    Response

    • 200 OK: The files were successfully moved to the recycle bin.
    • 400 Bad Request: The specified directory does not exist.

    Example Response (200 OK)

    {
        "Deleted Files": [
            "file1.txt",
            "file2.txt"
        ]
    }