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

      Copy folder

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

      Path Parameters#

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

      Request Body Parameters#

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

      Example Request#

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

      Response Codes#

      200 OK: Folder successfully copied to the destination folder.
      400 Bad Request: Invalid request body or missing destinationFolderId.
      401 Unauthorized: The current user is not authorized to copy 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/copy/yeovwf96jr82gfdd5luahjia' \
      --header 'Authorization: Bearer <token>'

      Responses

      🟢200Success
      application/json
      Body

      Example
      {}
      Modified at 2025-11-22 18:23:49
      Previous
      Move folder
      Built with