Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description 

Get a list of groups

Parameters

Code Block
languagebash
{}                                                                            .

Request

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

Responses

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

...