Skip to content

List asset types

Start from the script setup block, then add the snippet code below.

# ... script setup ...
asset_types = api_get(f"/v1/organization/{ORGANIZATION_ID}/asset-types")
print(json.dumps(asset_types, indent=2))