Thrust Carbon

Sub organisation: list

GET
/sub-organisations

This endpoint is only accessible by partner accounts

Please contact your account manager for access.

This endpoint will list all the sub-organisation's belonging to this organisation.

Query Parameters

organisation_id?string

Optional. Used by partner accounts to take an action against another account that they manage. If not provided it will list sub-organisations belonging to the root partner account; if value is provided, it will show sub-organisations that belong to the given organisation_id (i.e. it will display sub-sub-organisations).

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/sub-organisations"
{  "to": 0,  "from": 0,  "path": "http://example.com",  "prev_page_url": "http://example.com",  "next_page_url": "http://example.com",  "last_page_url": "http://example.com",  "first_page_url": "http://example.com",  "last_page": 0,  "current_page": 0,  "per_page": 0,  "total": 0,  "data": [    {      "id": "string",      "is_partner": true,      "name": "string",      "created_at": "string",      "updated_at": "string",      "parent_id": "string"    }  ]}