Resource URL: /platform/<<version=1>>/auth/settings/krb5/domains

    Overview: This resource contains krb5 authentication settings.

     Methods: GET, POST

********************************************************************************

Method GET: Retrieve the krb5 settings for domains.

       URL: GET /platform/<<version=1>>/auth/settings/krb5/domains

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "domain": {
      "items": {
        "type": "object", 
        "description": "Specifies the Kerberos settings for domain-realm mappings.", 
        "properties": {
          "domain": {
            "type": [
              {
                "type": "string", 
                "description": "Specifies the name of the domain."
              }, 
              {
                "type": "null"
              }
            ]
          }, 
          "realm": {
            "type": [
              {
                "type": "string", 
                "description": "Specifies the name of the realm."
              }, 
              {
                "type": "null"
              }
            ]
          }, 
          "id": {
            "type": [
              {
                "type": "string", 
                "description": "ID of the domain"
              }, 
              {
                "type": "null"
              }
            ]
          }
        }
      }, 
      "type": "array"
    }
  }
}

********************************************************************************

Method POST: Create a new krb5 domain.

        URL: POST /platform/<<version=1>>/auth/settings/krb5/domains

There are no query arguments for this method.

Required POST request body fields:
domain, realm

POST request body schema:
{
  "type": "object", 
  "description": "Specifies the Kerberos settings for domain-realm mappings.", 
  "properties": {
    "domain": {
      "required": true, 
      "type": "string", 
      "description": "Specifies the name of the domain."
    }, 
    "realm": {
      "required": true, 
      "type": "string", 
      "description": "Specifies the name of the realm."
    }
  }
}

POST response body schema:
{
  "type": "object", 
  "properties": {
    "id": {
      "required": true, 
      "type": "string", 
      "description": "ID of created item that can be used to refer to item in the collection-item resource path."
    }
  }
}
