File System
Rename box/dir
Rename a file or dir. If target newPath is already exists, the rename will be failed.
POST
JavaScript
Authorizations
Enter your API Key in the format: Bearer <token>. Get it from https://gbox.ai
Path Parameters
Box ID
Example:
"c9bdc193-b54b-4ddb-a035-5ac0c598d32d"
Body
application/json
Request parameters for renaming a file/directory
Response
200
application/json
Rename file
File system file representation
File system file representation
File system directory representation
JavaScript