Skip to content
LydieDevelopers
Menu

Move a database row

View as Markdown
POST/v1/database-rows/{rowId}/move

Places a row after/before another (the manual order every unsorted view shows) and, with group/subGroup and a grouped viewId, moves it to that group by setting the grouped property.

docs:writeUndoable
Request
curl -X POST "https://api.lydie.co/v1/database-rows/01JCQ3V5MZ8G4ZK2X7T9R6N1PB/move" \
  -H "Authorization: Bearer $LYDIE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

Path parameters

Body

Response

200
{
  "id": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
  "workspaceId": "01JCQ3TZ0WJ8K4M2X7T9R6N1PA",
  "parentId": null,
  "title": "Meeting notes",
  "sortKey": "a0",
  "properties": {
    "status": "draft"
  },
  "createdAt": "2026-11-12T09:30:00.000Z",
  "updatedAt": "2026-11-12T09:30:00.000Z",
  "deletedAt": null,
  "createdBy": null,
  "updatedBy": null
}

Errors use one envelope for every endpoint. See Errors and versions.