The list command is utilized to fetch a roster of available Roles.
JSON Input Data Format

    {}

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.
Successful Response

    {
        "result": "OK",
        "payload": [
            {
                "name": "MYROLE",
                "operator": "V72625e2c1-xxxx-xxxx-xxxx-a63fb40f067b",
                "id": "V7b48aa2c4-xxxx-xxxx-xxxx-9452af982524",
                "groups": [
                    {
                        "role": "V74b5b6ace-xxxx-xxxx-xxxx-4ae183814ee6"
                    },
                    {
                        "role": "V7fb1d9092-xxxx-xxxx-xxxx-f9ab2d1291ae"
                    },
                    {
                        "role": "V7fb1d9092-xxxx-xxxx-xxxx-f9ab2d12919a"
                    }
                ]
            },
            ...
        ]
     }

Failed Response

    {
        "result": "ERR",
        "message": "Error message ..."
    }