Update
Prod
https://api.everabyte.io/api
Prod
https://api.everabyte.io/api
PUT
https://api.everabyte.io/api
/files/update/{fileId}
PUT
fileId
(required): The ID of the file to be updated. Example: b5h86j5dkl7m0rnylnkt3kfh
{
"name": "Doc NDA",
"isShare": true,
"isPrivate": true
}
name
(required, string): The new name of the file.isShare
(optional, boolean): Indicates whether the file is shared.isPrivate
(optional, boolean): Indicates whether the file is private.PUT /files/update/b5h86j5dkl7m0rnylnkt3kfh
Content-Type: application/json
{
"name": "Updated NDA Document",
"isShare": false
}
b5h86j5dkl7m0rnylnkt3kfh
. The file's name is changed to "Updated NDA Document", and it is marked as not shared. Because isPrivate
is not provided, it remains unchanged.200 OK
: File metadata successfully updated.400 Bad Request
: Invalid request parameters or body.404 Not Found
: File not found.500 Internal Server Error
: Server error.Request
Body Params application/json