Ethiack Docs
Organizations

List an organization's assets

GET
/v1/organizations/{organization_id}/assets/

List assets belonging to an organization.

A 404 is returned when the organization is outside the caller's scope.

AuthorizationBearer <token>

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

In: header

Path Parameters

organization_id*integer

Query Parameters

page?integer
Default1
Range1 <= value
per_page?integer

Page size. Values above 500 are clamped to it (or rejected, per the server configuration).

Default25
Range1 <= value

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/organizations/0/assets/"
{
  "total": 0,
  "page": 0,
  "per_page": 0,
  "_links": {
    "property1": "string",
    "property2": "string"
  },
  "assets": [
    {
      "id": 0,
      "value": "string",
      "type": "string",
      "tier": "low",
      "organization_id": 0,
      "private": true
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}