Folders

Delete an empty folder

A folder that still holds sub-folders or resources is refused with 409: move or delete them first. Answers the deleted folder. With validate_only, the same checks run and 204 answers, nothing is deleted.

delete/v1/workspaces/{workspace_id}/folders/{folder_id}

Request

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

Path parameters

workspace_idinteger required

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

folder_idstring uuid required

The folder.

Query parameters

region'besg' | 'usnv' required

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

validate_onlyboolean

Run every check of the write and answer 204 without writing: a refused write answers the error the write would

Response

OK

folder_idstring required
folder_namestring required
folder_resource_idstring required
parent_folder_idstring nullable required

The folder it is in; None at the root

region'besg' | 'usnv' required

Changes

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