get_groups

Description 

Get a list of groups

Parameters

{}                                                                            .

Request

curl -X POST \
-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \
-H "Content-Type: application/json" \
-d '{}' \
-k https://your.domain.com/api/users/get_groups

Responses

[{"id": 3, "name": "Accountant"},
{"id": 4, "name": "clients_of_sbc.mydomain.com"},
{"id": 1, "name": "Administrator"},
{"id": 2, "name": "API"},
]