Resource URL: /platform/<<version=3>>/cluster/config/join-mode

    Overview: This resource contains the join mode of the cluster.

     Methods: GET, PUT

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

Method GET: Retrieve the cluster join mode.

       URL: GET /platform/<<version=3>>/cluster/config/join-mode

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "type": "object", 
      "description": "Cluster join-mode settings.", 
      "properties": {
        "mode": {
          "enum": [
            "Manual", 
            "Secure"
          ], 
          "type": "string", 
          "description": "Join mode of cluster (Manual|Secure)", 
          "required": true
        }
      }
    }
  ]
}

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

Method PUT: Set the cluster join mode.

       URL: PUT /platform/<<version=3>>/cluster/config/join-mode

There are no query arguments for this method.

Required PUT request body fields:
mode

PUT request body schema:
{
  "type": "object", 
  "description": "Cluster join-mode settings.", 
  "properties": {
    "mode": {
      "enum": [
        "Manual", 
        "Secure"
      ], 
      "type": "string", 
      "description": "Join mode of cluster (Manual|Secure)", 
      "required": true
    }
  }
}

There is no JSON response body for this method.
