Skip to main content
Skip table of contents

List Groups

The List Groups operation lists all groups that exist in Keycloak.

Example

Output

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Groups>
    <Group>
        <Id>e8863a97-771d-4c34-90e8-4698d06928a5</Id>
        <Name>Employee</Name>
        <Path>/Employee</Path>
        <Attributes/>
        <ClientRoles/>
        <SubGroups>
            <Group>
                <Id>21181305-1361-469a-845e-873f56025304</Id>
                <Name>Developer</Name>
                <Path>/Employee/Developer</Path>
                <Attributes/>
                <ClientRoles/>
                <SubGroups/>
            </Group>
            <Group>
                <Id>531b9720-79db-4ef9-9f81-a026b6ebe535</Id>
                <Name>Consultant</Name>
                <Path>/Employee/Consultant</Path>
                <Attributes/>
                <ClientRoles/>
                <SubGroups/>
            </Group>
        </SubGroups>
    </Group>
    <Group>
        <Id>78f84034-3129-4636-97c5-189b338deeb4</Id>
        <Name>Customer</Name>
        <Path>/Customer</Path>
        <Attributes/>
        <ClientRoles/>
        <SubGroups/>
    </Group>
</Groups>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.