Moogsoft Docs


A Graze API GET request that returns a JSON object containing the names and configuration details of active security realms.

Back to Graze API EndPoint Reference.

Request arguments

There are no other arguments because this endpoint returns data on all active security realms.


Endpoint getSecurityRealm returns the following response:

Successful requests return a JSON object containing the following:




JSON Object


The name of the created Security Realms followed by its configured variables.


The following examples demonstrate typical use of endpoint getSecurityRealm:

Request example

Example cURL request to return the configuration of any active security realm in Moogsoft AIOps:

curl -G -u graze:graze -k -v "https://localhost/graze/v1/getSecurityRealms"
Response example

Successful requests return a JSON object representing the active realms. The following example shows a test SAML realm and a Google realm:

        "Test Saml Realm": {
                "configuration":  {
                        "defaultTeams":["Cloud DevOps"],
                        "fullname":"$FirstName $LastName",
                        "name":"Test Saml Realm",
        ,"Google realm": {
                "configuration": {
                        "name":"Google realm",