HEX
Server: Apache
System: Linux vps28526 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
User: heewonvps_17 (6705002)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/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*.