HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
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*.