Assets
Update an asset
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": {}
}
]
}List an asset's network services GET
Return the network services discovered on one asset. The same set the asset detail response embeds, on its own endpoint so a panel can refresh services without re-fetching the asset.
List audit log entries GET
List audit log entries visible to the caller, filtered and paginated. `total` reflects the same scope and filters as the returned page.