Folders
Rename a folder
POST
name is the folder's path; newName is one name, which it takes in the same folder. Its files and the folders inside it move with it. A rename that changes only the case is allowed.
bearer files:writeheader
AuthorizationBearer <token>An API key, an OAuth access token, or a signed-in session token.
Scope: files:write
application/json- body
name*stringLength
length <= 2560newName*stringLength
1 <= length <= 255Renamed
application/json- response
name*stringcurl -X POST 'https://fastwater.app/v1/folders/rename' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "newName": "string"}'Example Response
{ "name": "string"}