Sign in
Docs
Have a token? Manage tokens in the console
GET
/v1/accounts/orgs/{org_id}/layouts

The account's default layouts, page by page: which boxes a console page shows, in what order and how wide (columns of 12). A key with account:read reads the account's defaults; a person also gets their own. One page holds them all.

Needs scope account:read.

Authorization

bearer
headerAuthorizationBearer <token>

An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (developers.inorbit.hr). The gateway verifies it; the audience is iohr-api.

Path Parameters

org_id*string

The account's id: org in GET /v1/me.

Query Parameters

page_size?integer

At most this many; 0 or empty means the default.

Formatint32
page_token?string

From the previous page's next_page_token.

Response Body

iohr.accounts.v1.ListLayoutsResponse

application/json
  1. response

iohr.accounts.v1.ListLayoutsResponse

account*array<>
mine*array<>
next_page_token*string
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try {  const { value } = await api.accounts.listLayouts("<org_id>");  console.log(value);} catch (e) {  if (!(e instanceof ApiError)) throw e;  console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`);}

npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.

{  "account": [    {      "page": "string",      "scope": "string",      "updated_at": "string",      "updated_by": "string",      "version": "string",      "widgets": [        {          "hidden": true,          "span": 0,          "widget": "string"        }      ]    }  ],  "mine": [    {      "page": "string",      "scope": "string",      "updated_at": "string",      "updated_by": "string",      "version": "string",      "widgets": [        {          "hidden": true,          "span": 0,          "widget": "string"        }      ]    }  ],  "next_page_token": "string"}