Everabyte API
    Everabyte API
    • Back to home
    • File
    • List
      GET
    • Detail
      GET
    • Upload
      PUT
    • Update
      PUT
    • Download
      GET
    • Delete
      DELETE
    • Public Download
      GET
    • Share file with user
      PUT

      Delete

      Prod
      https://api.everabyte.io/api
      Prod
      https://api.everabyte.io/api
      DELETE
      https://api.everabyte.io/api
      /files/delete/k3pp2maludvi0mhw8oz0d05i
      This endpoint is used to delete a specific file.
      Endpoint: /files/delete/{fileId}
      Method: DELETE
      Path Parameters:
      fileId (required): The ID of the file to be deleted. Example: k3pp2maludvi0mhw8oz0d05i
      Request Body Parameters:
      (This endpoint does not require a request body.)
      Example Request:
      DELETE /files/delete/k3pp2maludvi0mhw8oz0d05i
      This request will delete the file with the ID k3pp2maludvi0mhw8oz0d05i.
      Response Codes:
      200 OK: File successfully deleted.
      204 No Content: File successfully deleted (often used when no response body is needed).
      400 Bad Request: Invalid request parameters.
      404 Not Found: File not found.
      500 Internal Server Error: Server error.

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request DELETE 'https://api.everabyte.io/api/files/delete/k3pp2maludvi0mhw8oz0d05i'

      Responses

      🟢200Success
      application/json
      Body
      object {0}
      Example
      {}
      Previous
      Download
      Next
      Public Download
      Built with