Get headquarter from organization id

Get the headquarter your organization belong to.

GET /aos/v1/organizations/headquarters/{organizationId}

Query params

Parameter Type Mandatory
organizationId string (uuid) yes

Response

Status: 200 OK
{
  "headquarters": [
    {
      "id": "97740901-3431-4290-a799-ba27d1161508",
      "name": "HeadQuarter 1",
      "organizationIds": [
        "5670901-3431-4290-a799-ba27d1161508",
      ],
    }
  ],
  // The pagination keys...
}