Admiral

Organizations

Get the current organization

GET
/v1/organizations/{organization}
  • NOT_FOUND when the resource name is not the caller's organization.

Scope: organization:read

Authorization

bearerAuth
AuthorizationBearer <token>

An API key, or an access token minted from one. Pass it in the Authorization header: Bearer admp_...

In: header

Path Parameters

organization*string

The organization id.

Response Body

application/json

curl -X GET "https://example.com/v1/organizations/string"
{  "organization": {    "id": "string",    "name": "string",    "display_name": "string",    "resource_name": "string",    "avatar_url": "string",    "status": "STATUS_UNSPECIFIED",    "owner_ids": [      "string"    ],    "etag": "string",    "created_at": "2023-01-15T01:30:15.01Z",    "updated_at": "2023-01-15T01:30:15.01Z"  }}