Skip to main content
POST
/
api
/
assets
/
archive-asset
curl -X POST 'https://crypto-api.yativo.com/api/assets/archive-asset' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "asset_id": "ast_01HX9KZMB3F7VNQP8R2WDGT4EA"
  }'
{
  "status": "success",
  "message": "Asset archived successfully",
  "data": {
    "asset_id": "ast_01HX9KZMB3F7VNQP8R2WDGT4EA",
    "status": "archived",
    "archived_at": "2026-03-26T12:00:00Z"
  }
}
Authorization
string
required
Bearer token: Bearer YOUR_ACCESS_TOKEN
asset_id
string
required
The ID of the asset to archive.
curl -X POST 'https://crypto-api.yativo.com/api/assets/archive-asset' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "asset_id": "ast_01HX9KZMB3F7VNQP8R2WDGT4EA"
  }'
{
  "status": "success",
  "message": "Asset archived successfully",
  "data": {
    "asset_id": "ast_01HX9KZMB3F7VNQP8R2WDGT4EA",
    "status": "archived",
    "archived_at": "2026-03-26T12:00:00Z"
  }
}