Assets
Create an asset
Create an asset, after the ownership gate.
Audience (organization, partner) is enforced by the asset policy. organization_id defaults to the caller's org.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.ethiack.com/v1/assets/" \ -H "Content-Type: application/json" \ -d '{ "organization_id": 0, "asset_value": "string", "asset_type": "fqdn", "beacon_id": 0, "tier": "low" }'{
"code": 0,
"description": "string",
"id": 0,
"success": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}