Hatch

A folder was renamed or moved: its rules go with it

On this page

Send it before the renamed files sync, so they never show up unprotected.

POST/api/sync/vaults/{vault}/rules/move

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Path parameters

  • vault string (required)

Request body

  • from string: At most 1000 characters
  • to string: At most 1000 characters

Response

200: It worked

  • moved number (required)

Other answers:

  • 4XX: Refused, with a message to show the person