Everabyte API
    Everabyte API
    • Back to home
    • Folder
    • Create
      POST
    • Update
      PUT
    • Delete
      DELETE

      Create

      Prod
      https://api.everabyte.io/api
      Prod
      https://api.everabyte.io/api
      POST
      https://api.everabyte.io/api
      /folder/create/c0awv0oseisvm83lru953k12
      This endpoint creates a new folder within a specified parent folder.
      Endpoint: /folder/create/{folderId}
      Method: POST
      Path Parameters:
      folderId (required): The ID of the parent folder where the new folder will be created. Example: a1b2c3d4-e5f6-7890-1234-567890abcdef
      Request Body Parameters:
      {
        "name": "New Folder Name"
      }
      name (required, string): The name of the new folder.
      Example Request:
      POST /folder/create/a1b2c3d4-e5f6-7890-1234-567890abcdef
      Content-Type: application/json
      
      {
        "name": "Project Documents"
      }
      This request creates a new folder named "Project Documents" inside the folder with ID a1b2c3d4-e5f6-7890-1234-567890abcdef.
      Response Codes:
      201 Created: Folder successfully created. The response body may include the ID of the newly created folder.
      400 Bad Request: Invalid request body (e.g., missing name field, name too long).
      404 Not Found: Parent folder not found.
      409 Conflict: A folder with the same name already exists in the specified parent folder.
      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 ********************
      Body Params application/json
      name
      string 
      required
      Example
      {
        "name": "Projects Documents"
      }

      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 POST 'https://api.everabyte.io/api/folder/create/c0awv0oseisvm83lru953k12' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "name": "Projects Documents"
      }'

      Responses

      🟢200Success
      application/json
      Body
      object {0}
      Example
      {}
      Next
      Update
      Built with