Folders

Move resources to the root

Each resource leaves its folder for the root of the workspace. A retry is safe.

post/v1/workspaces/{workspace_id}/folders/root/resources

Request

  • Base URL
    https://api.stacksync.com
  • URL
    https://api.stacksync.com/v1/workspaces/{workspace_id}/folders/root/resources
  • Auth
    HTTP bearer

Path parameters

workspace_idinteger required

The workspace. List the ones your key can reach with GET /v1/workspaces.

Query parameters

region'besg' | 'usnv' required

Region of the resource: besg (Europe) or usnv (United States), as GET /v1/regions lists them

Request body

validate_onlyboolean

Run every check of the move and answer what would move and what would not, with why, without moving anything: a refused request answers the error the move would

Response

OK

folder_idstring nullable required

The destination folder; None for the root

Changes

No recorded changes to this operation across all 1 revision of this API.