Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Request body example

{
  "preset_folder_ids": [2, 3, ...],
  "preset_folder": {
    "ancestry": "34"
  }
}

Success response body

{
  "success": true
}

Params

Param name Description
preset_folder_ids
required

Array of IDs of folders should be moved

Validations:

  • Must be an array of Integer

preset_folder
required

Validations:

  • Must be a Hash

preset_folder[ancestry]
required , nil allowed

Id of parant folder

Validations:

  • Must be a String