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": [
            {
                "id": "V7d2e2c13f-xxxx-xxxx-xxxx-071afe6df0d8",
                "operator": "V72625e2c1-xxxx-xxxx-xxxx-a63fb40f067b",
                "name": "MYROLE",
                "policies": [
                    {
                        "policy": "roles::*::*"
                    },
                    {
                        "policy": "instances-cn::list,create,delete::*"
                    },
                    {
                        "policy": "instances-vm::list,create,delete::V743c738aa-xxxx-xxxx-xxxx-de0f9c98d7b5"
                    }
                ]
            },
            ...
        ]
     }

Failed Response

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