Skip to main content

List all resource groups

GET 
/auth/resource_groups

Returns a list of your resource groups. Results are paginated to improve retrieval peformance. The meta data indicates how many total records exist.

Request

Query Parameters

    page[number] double

    Current page based on pagination settings.

    page[size] double

    Number of results to return per page based on pagination settings.

Responses

200: Successful response

401: Authentication error

403: Authorization error

Request samples


curl -L 'https://api.telnyx.com/auth/resource_groups' \
-H 'Accept: application/json'

Response samples


{
"data": [
{
"id": "e6746f7c-a375-4c68-937f-bbfc3858d500",
"description": "Tommy's Numbers",
"default": "Tommy's Numbers",
"record_type": "resource_group",
"created_at": "2018-02-08T18:49:22.998023Z",
"updated_at": "2018-02-08T18:49:22.998023Z"
}
],
"meta": {
"total_pages": 13,
"total_results": 13,
"page_number": 3,
"page_size": 1
}
}