Skip to main content
PUT
/
file-entries
/
{entryId}
curl -X PUT https://app.drime.cloud/api/v1/file-entries/485529678 \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "vacation-photo.jpg",
    "description": "Beach sunset from our trip"
  }'
{
  "status": "success",
  "fileEntry": {
    "id": 485529678,
    "name": "vacation-photo.jpg",
    "description": "Beach sunset from our trip",
    "type": "image",
    "updated_at": "2024-01-20T15:30:00.000000Z"
  }
}

Overview

Updates the name or description of a file or folder.

Path Parameters

entryId
integer
required
The file entry ID to update

Query Parameters

workspaceId
integer
Workspace context

Request Body

name
string
New name for the entry
description
string
New description for the entry

Response

fileEntry
object
The updated file entry object
status
string
Request status (success)
curl -X PUT https://app.drime.cloud/api/v1/file-entries/485529678 \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "vacation-photo.jpg",
    "description": "Beach sunset from our trip"
  }'
{
  "status": "success",
  "fileEntry": {
    "id": 485529678,
    "name": "vacation-photo.jpg",
    "description": "Beach sunset from our trip",
    "type": "image",
    "updated_at": "2024-01-20T15:30:00.000000Z"
  }
}