Folders

Move resources from/to folder

Move resources from/to folder.

patch/workspaces/{workspace_id}/projects/{project_id}/folders

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/projects/{project_id}/folders
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

workspace_idinteger required

Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

Example:4
project_idinteger required

Project ID of the workspace

Example:4

Request body

Example request

{
  "patch": [
    {
      "op": "move",
      "from": [
        555
      ],
      "path": 344
    }
  ]
}

Response

Move folder resources

status_codeinteger nullable
job_idinteger nullable

Created job id

failure_reasonstring nullable

Failure reason if status is failure

Changes

No recorded changes to this operation across all 4 revisions of this API.