List groups (all)

Returns a nested representation of the groups attached to your organisation.

Basic request

GET https://{APIDOMAIN}/api-v1/groups

Example response:

{
    "type": "groups",
    "org": "PfP Test Organisation",
    "count": 2,
    "memo": "Groups, their names and types, which are attached to this org",
    "groups": [
        {
            "type": "INST",
            "name": "NHS",
            "uuid": "6e6c3c25-2896-4f69-90b2-1a50605f2cc5",
            "groups": [
                {
                    "type": "DEPT",
                    "name": "An example department",
                    "uuid": "38b427d5-0733-4731-8a65-12655da39b82"
                }
            ]
        }
    ]
}