Skip to content
TALA
Esc
navigateopen⌘Jpreview

Restore a specific version of an asset

PATCH/api/assets/{id}/versions/restore/{versionNumber}
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
versionNumbernumberrequired
Header parameters
x-organization-idstring
Target organization id. Defaults to the caller's personal organization when omitted.
Responses
200OK
any
400Bad Request
any
401Unauthorized
any
404Not Found
any
500Internal Server Error
any
Try it
Server
Authorization
Parameters
Request
curl -X PATCH "http://localhost:8000/api/assets/string/versions/restore/0" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "message": "Asset version restored successfully",
  "data": {
    "id": "ASp9Lm2xK7",
    "assetName": "Company Logo",
    "assetType": "image/png",
    "assetShortUrl": "https://assets.tala.com/logo.png",
    "assetLongUrl": "https://tala-store.s3.amazonaws.com/logo.png?X-Amz-Algorithm...",
    "collection": {
      "id": "CLq4Wm7x1P",
      "title": "Brand Identity"
    },
    "createdAt": "2026-04-03T14:53:11Z"
  }
}