curl -X POST "https://app.drime.cloud/api/v1/file-entries/move?workspaceId=0" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"entryIds": [123, 456],
"destinationId": 789
}'
const response = await fetch(
'https://app.drime.cloud/api/v1/file-entries/move?workspaceId=0',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
entryIds: [123, 456],
destinationId: 789 // folder ID, or null for root
})
}
);
const { entries } = await response.json();
import requests
response = requests.post(
'https://app.drime.cloud/api/v1/file-entries/move',
params={'workspaceId': 0},
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'},
json={
'entryIds': [123, 456],
'destinationId': 789 # folder ID, or None for root
}
)
entries = response.json()['entries']
{
"status": "success",
"entries": [
{
"id": 123,
"name": "document.pdf",
"parent_id": 789,
"updated_at": "2024-01-20T10:00:00.000000Z"
},
{
"id": 456,
"name": "photo.jpg",
"parent_id": 789,
"updated_at": "2024-01-20T10:00:00.000000Z"
}
]
}
Files & Folders
Move Entries
Move files and folders to a different location
POST
/
file-entries
/
move
curl -X POST "https://app.drime.cloud/api/v1/file-entries/move?workspaceId=0" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"entryIds": [123, 456],
"destinationId": 789
}'
const response = await fetch(
'https://app.drime.cloud/api/v1/file-entries/move?workspaceId=0',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
entryIds: [123, 456],
destinationId: 789 // folder ID, or null for root
})
}
);
const { entries } = await response.json();
import requests
response = requests.post(
'https://app.drime.cloud/api/v1/file-entries/move',
params={'workspaceId': 0},
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'},
json={
'entryIds': [123, 456],
'destinationId': 789 # folder ID, or None for root
}
)
entries = response.json()['entries']
{
"status": "success",
"entries": [
{
"id": 123,
"name": "document.pdf",
"parent_id": 789,
"updated_at": "2024-01-20T10:00:00.000000Z"
},
{
"id": 456,
"name": "photo.jpg",
"parent_id": 789,
"updated_at": "2024-01-20T10:00:00.000000Z"
}
]
}
Overview
Moves one or more file entries to a different folder.Query Parameters
integer
Workspace context
Request Body
array
required
Array of entry IDs to move
integer
Destination folder ID. Use
null to move to root.Response
array
Array of moved file entry objects
string
Request status (
success)curl -X POST "https://app.drime.cloud/api/v1/file-entries/move?workspaceId=0" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"entryIds": [123, 456],
"destinationId": 789
}'
const response = await fetch(
'https://app.drime.cloud/api/v1/file-entries/move?workspaceId=0',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
entryIds: [123, 456],
destinationId: 789 // folder ID, or null for root
})
}
);
const { entries } = await response.json();
import requests
response = requests.post(
'https://app.drime.cloud/api/v1/file-entries/move',
params={'workspaceId': 0},
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'},
json={
'entryIds': [123, 456],
'destinationId': 789 # folder ID, or None for root
}
)
entries = response.json()['entries']
{
"status": "success",
"entries": [
{
"id": 123,
"name": "document.pdf",
"parent_id": 789,
"updated_at": "2024-01-20T10:00:00.000000Z"
},
{
"id": 456,
"name": "photo.jpg",
"parent_id": 789,
"updated_at": "2024-01-20T10:00:00.000000Z"
}
]
}
⌘I

