Skip to content

Get regions

Request

Returns an array of regions for the given organisation

Path
organisationIdinteger, (int32)required

The organisation to get regions

const organisationId = 'YOUR_organisationId_PARAMETER';
const resp = await fetch(
  `https://api-sandbox.lawvu.com/account-apis/v1/organisations/${organisationId}/regions`,
  {method: 'GET'}
);

const data = await resp.text();
console.log(data);

Responses

OK

Body
Array [
idinteger, (int32)
namestring or null
]
Response
[
  {
    "id": 0,
    "name": "string"
  }
]