Restore deleted files in trash bin to its original location.
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Body Params application/json
{
"uris": [
"cloudreve://trash/ab470e1a-31dc-4794-b749-1a453d7837b2",
"cloudreve://trash/46ef00c1-d489-43df-a717-8e21d1f52894"
]
}
Request Code Samples
curl --location --request POST '/file/restore' \
--header 'Content-Type: application/json' \
--data-raw '{
"uris": [
"cloudreve://trash/ab470e1a-31dc-4794-b749-1a453d7837b2",
"cloudreve://trash/46ef00c1-d489-43df-a717-8e21d1f52894"
]
}'
Responses
application/json Modified at 2025-08-12 07:13:02