Storage
Move storage entry.
Move storage entry. The request enforces Storage access, workspace ownership, and entry lifecycle state.
PUT
/
api
/
v1
/
storage
/
{storageEntryId}
/
move
Move storage entry.
curl --request PUT \
--url https://api.revoengine.com/api/v1/storage/{storageEntryId}/move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"version": 1
}'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({version: 1})
};
fetch('https://api.revoengine.com/api/v1/storage/{storageEntryId}/move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/storage/{storageEntryId}/move"
payload = { "version": 1 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Body
application/json
Current entity version.
Required range:
x >= 0Destination parent folder id. Omit or pass null for root.
Optional destination storage id for root-level moves. Omit for managed default storage. Ignored when parentStorageEntryId is provided.
Response
200
OK.
⌘I
Move storage entry.
curl --request PUT \
--url https://api.revoengine.com/api/v1/storage/{storageEntryId}/move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"version": 1
}'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({version: 1})
};
fetch('https://api.revoengine.com/api/v1/storage/{storageEntryId}/move', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/storage/{storageEntryId}/move"
payload = { "version": 1 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)
