Get Group Names
GET/api/v31.02/groups/names
x-prisma-cloud-target-env: {"permission":"userManagement","saas":true,"self-hosted":true}
x-public: true
Retrieves a list of all group names as an array of strings.
This endpoint maps to the table data on the Manage > Authentication > Groups Console UI page.
cURL Request
Refer to the following example cURL command that retrieves all the system groups:
$ curl -k \
-X GET \
-u <USER> \
-H 'Content-Type: application/json' \
https://<CONSOLE>/api/v<VERSION>/groups/names
A sample output would look similar to this:
[
"admins",
"secops",
"devops",
""
]
Responses
- 200
- default