Ethiack Docs
Assets

Update an asset

PATCH
/v1/assets/{asset_id}

Update an asset (e.g. its tier).

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

asset_id*integer

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://api.ethiack.com/v1/assets/0" \  -H "Content-Type: application/json" \  -d '{    "tier": "low"  }'
{
  "code": 0,
  "description": "string",
  "id": 0,
  "success": true
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}