API documentation
    API documentation
    • Back to home
    • Folder
    • Create
      POST
    • Update
      PUT
    • Delete
      DELETE
    • Move folder
      POST
    • Copy folder
      POST

      Move folder

      POST
      https://api.everabyte.io/api/folders/move/yeovwf96jr82gfdd5luahjia
      Endpoint: /folders/move/{folderId}
      Method: POST

      Path Parameters#

      folderId (required, string): The unique identifier of the folder to be moved.

      Request Body Parameters#

      {
        "destinationFolderId": "destinationFolderId"
      }
      destinationFolderId (required, string): The unique identifier of the folder where the folder will be moved.

      Example Request#

      POST /folders/move/abc123def456
      Content-Type: application/json
      
      {
        "destinationFolderId": "folder789xyz"
      }

      Response Codes#

      200 OK: Folder successfully moved to the destination folder.
      400 Bad Request: Invalid request body or missing destinationFolderId.
      401 Unauthorized: The current user is not authorized to move this folder.
      404 Not Found: Folder or destination folder not found.
      500 Internal Server Error: Unexpected server error.

      Request

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

      Request Code 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 POST 'https://api.everabyte.io/api/folders/move/yeovwf96jr82gfdd5luahjia' \
      --header 'Authorization: Bearer <token>'

      Responses

      🟢200Success
      application/json
      Body

      Example
      {}
      Modified at 2025-11-22 18:25:35
      Previous
      Delete
      Next
      Copy folder
      Built with