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

      Update

      Prod
      https://api.everabyte.io/api
      Prod
      https://api.everabyte.io/api
      PUT
      https://api.everabyte.io/api
      /folder/update/rxkg5t3aowbns42ma6ek0jn1
      This endpoint is used to update an existing folder's properties.
      Endpoint: /folder/update/{folderId}
      Method: PUT
      Path Parameters:
      folderId (required): The ID of the folder to be updated. Example: a1b2c3d4-e5f6-7890-1234-567890abcdef
      Request Body Parameters:
      {
        "name": "New Folder Name",
        "isShare": true,
        "isPrivate": false
      }
      name (required, string): The new name for the folder.
      isShare (optional, boolean): Indicates whether the folder is shared. If not provided, the existing value is retained.
      isPrivate (optional, boolean): Indicates whether the folder is private. If not provided, the existing value is retained.
      Example Request:
      PUT /folder/update/a1b2c3d4-e5f6-7890-1234-567890abcdef
      Content-Type: application/json
      
      {
        "name": "Updated Folder Name",
        "isShare": false
      }
      This request updates the folder with ID a1b2c3d4-e5f6-7890-1234-567890abcdef, changing its name to "Updated Folder Name" and setting isShare to false. The isPrivate property will remain unchanged.
      Response Codes:
      200 OK: Folder successfully updated.
      400 Bad Request: Invalid request parameters or body (e.g., missing required fields, invalid folderId).
      404 Not Found: Folder 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 ********************
      Body Params application/json
      name
      string 
      required
      isShare
      boolean 
      required
      isPrivate
      boolean 
      required
      Example
      {
        "name": "Projects Documents",
        "isShare": false,
        "isPrivate": true
      }

      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 PUT 'https://api.everabyte.io/api/folder/update/rxkg5t3aowbns42ma6ek0jn1' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "name": "Projects Documents",
          "isShare": false,
          "isPrivate": true
      }'

      Responses

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