Returns a detailed list of all organizations for the authenticated user.
page | integer Default: 0 The page of results you wish to be returned with page numbers starting at 0. See About Automox API - Pagination |
limit | integer [ 1 .. 500 ] Default: 500 A limit on the number of results to be returned, between 1 and 500, with a default of 500. Use with |
Successful Operation
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Too many requests
Service Unavailable
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = "https://console.automox.com/api/orgs" $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
[- {
- "id": 0,
- "name": "string",
- "addr1": "string",
- "addr2": "string",
- "city": "string",
- "state": "string",
- "zipcode": "string",
- "country": "string",
- "create_time": "2019-08-24T14:15:22Z",
- "access_key": "string",
- "server_limit": 0,
- "stripe_cust": "string",
- "cc_last": "string",
- "cc_exp": "string",
- "cc_brand": "string",
- "cc_name": "string",
- "billing_interval": 0,
- "billing_interval_count": 0,
- "trial_end_time": "2019-08-24T14:15:22Z",
- "trial_expired": true,
- "plan": "BASIC",
- "parent_org": [
- {
- "id": 0,
- "zone_id": "string",
- "plan": "BASIC",
- "trial_end_time": "2019-08-24T14:15:22Z",
- "trial_expired": true
}
], - "sub_systems": "string",
- "sub_create_time": "string",
- "sub_end_time": "string",
- "next_bill_time": "string",
- "rate_id": 0,
- "parent_id": 0,
- "bill_overages": true,
- "metadata": { },
- "legacy_billing": true,
- "billing_name": "string",
- "billing_email": "string",
- "billing_phone": "string",
- "device_limit": 0,
- "device_count": 0
}
]