HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/workdocs/describe-groups.rst
**To retrieve a list of groups**

The following ``describe-groups`` example lists the groups associated with the specified Amazon WorkDocs organization. ::

    aws workdocs describe-groups \
        --search-query "e" \
        --organization-id d-123456789c

Output::

    {
        "Groups": [
            {
                "Id": "S-1-1-11-1122222222-2222233333-3333334444-4444&d-123456789c",
                "Name": "Example Group 1"
            },
            {
                "Id": "S-1-1-11-1122222222-2222233333-3333334444-5555&d-123456789c",
                "Name": "Example Group 2"
            }
        ]
    }

For more information, see `Getting Started with Amazon WorkDocs <https://docs.aws.amazon.com/workdocs/latest/adminguide/getting_started.html>`__ in the *Amazon WorkDocs Administration Guide*.