EndpointsList organizations

Organizations

List organizations

Lists the Organizations the caller holds a role in.

GET/organizations
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

cursorstring

Pagination cursor from a previous response's next_cursor.

Maximum string length: 512

limitintegerdefault:50

Items per page (1-100, default 50)

Required range: 1 <= x <= 100

Example: 50

Response

application/json

Organizations

dataobject[]required

Maximum array length: 100 elements

child attributes
data.idstringrequired

Organization ID, org_<id>.

Required string length: 3 - 54

data.namestring | nullrequired

Null once the Organization is deleted: delete erases it at once.

Required string length: 1 - 50

Pattern: ^(?=.*\S)[^\p{Cc}\p{Zl}\p{Zp}]+$

Example: "Code Zero"

data.stateenum<string>required

deleted: soft-deleted until purge_at; afterwards the Organization is not found.

Available options: active, deleted

data.created_atintegerrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

data.updated_atintegerrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

data.deleted_atinteger | nullrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

data.purge_atinteger | nullrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

data.etagstringrequired

Pass as If-Match to delete only this version. OUTPUT_ONLY.

Maximum string length: 64

has_morebooleanrequired

True if more items exist after this page.

next_cursorstring | nullrequired

Opaque cursor for the next page, or null if no more pages.

Maximum string length: 512