{
  "schemaVersion": 1,
  "operation": {
    "operationId": "getProductAuthenticationStatus",
    "method": "GET",
    "path": "/api/v1/instance/authentication",
    "summary": "Get redacted authentication configuration status",
    "description": "",
    "tags": [
      "Instance"
    ],
    "effect": "read",
    "confirmation": "never",
    "parameters": [],
    "responses": [
      {
        "status": "200",
        "description": "The request has succeeded.",
        "content": [
          {
            "contentType": "application/json",
            "schema": {
              "$ref": "#/components/schemas/ProductAuthenticationStatusResponse"
            }
          }
        ]
      },
      {
        "status": "400",
        "description": "The server could not understand the request due to invalid syntax.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "401",
        "description": "Access is unauthorized.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "403",
        "description": "Access is forbidden.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "404",
        "description": "The server cannot find the requested resource.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "409",
        "description": "The request conflicts with the current state of the server.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "412",
        "description": "Precondition failed.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "413",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "415",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "422",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "429",
        "description": "Client error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "500",
        "description": "Server error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "502",
        "description": "Server error",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      },
      {
        "status": "503",
        "description": "Service unavailable.",
        "content": [
          {
            "contentType": "application/problem+json",
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
            }
          }
        ]
      }
    ]
  },
  "schemas": {
    "ProblemDetails": {
      "example": {
        "code": "example",
        "detail": "example",
        "errors": [
          {
            "code": "example",
            "detail": "example",
            "field": "example"
          }
        ],
        "instance": "example",
        "requestId": "example",
        "status": 1,
        "title": "example",
        "type": "example"
      },
      "properties": {
        "code": {
          "example": "example",
          "type": "string"
        },
        "detail": {
          "example": "example",
          "type": "string"
        },
        "errors": {
          "example": [
            {
              "code": "example",
              "detail": "example",
              "field": "example"
            }
          ],
          "items": {
            "$ref": "#/components/schemas/ProblemFieldError"
          },
          "type": "array"
        },
        "instance": {
          "example": "example",
          "type": "string"
        },
        "requestId": {
          "example": "example",
          "type": "string"
        },
        "status": {
          "example": 1,
          "format": "int32",
          "type": "integer"
        },
        "title": {
          "example": "example",
          "type": "string"
        },
        "type": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "type",
        "title",
        "status",
        "detail",
        "instance",
        "code",
        "requestId",
        "errors"
      ],
      "type": "object"
    },
    "ProblemFieldError": {
      "example": {
        "code": "example",
        "detail": "example",
        "field": "example"
      },
      "properties": {
        "code": {
          "example": "example",
          "type": "string"
        },
        "detail": {
          "example": "example",
          "type": "string"
        },
        "field": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "field",
        "code",
        "detail"
      ],
      "type": "object"
    },
    "ProductAuthenticationStatusResponse": {
      "example": {
        "apiTokenOnly": true,
        "azure": {
          "available": true,
          "enabled": true
        },
        "browserEnabled": true,
        "local": {
          "available": true,
          "enabled": true
        },
        "managedBy": "example",
        "oidc": {
          "available": true,
          "enabled": true,
          "provider": "example"
        },
        "scim": {
          "available": true,
          "enabled": true
        }
      },
      "properties": {
        "apiTokenOnly": {
          "example": true,
          "type": "boolean"
        },
        "azure": {
          "$ref": "#/components/schemas/ProductAvailabilityResponse"
        },
        "browserEnabled": {
          "example": true,
          "type": "boolean"
        },
        "local": {
          "$ref": "#/components/schemas/ProductAvailabilityResponse"
        },
        "managedBy": {
          "enum": [
            "deployment"
          ],
          "example": "example",
          "type": "string"
        },
        "oidc": {
          "$ref": "#/components/schemas/ProductNamedAvailabilityResponse"
        },
        "scim": {
          "$ref": "#/components/schemas/ProductAvailabilityResponse"
        }
      },
      "required": [
        "browserEnabled",
        "apiTokenOnly",
        "local",
        "oidc",
        "azure",
        "scim",
        "managedBy"
      ],
      "type": "object"
    },
    "ProductAvailabilityResponse": {
      "example": {
        "available": true,
        "enabled": true
      },
      "properties": {
        "available": {
          "example": true,
          "type": "boolean"
        },
        "enabled": {
          "example": true,
          "type": "boolean"
        }
      },
      "required": [
        "available",
        "enabled"
      ],
      "type": "object"
    },
    "ProductNamedAvailabilityResponse": {
      "example": {
        "available": true,
        "enabled": true,
        "provider": "example"
      },
      "properties": {
        "available": {
          "example": true,
          "type": "boolean"
        },
        "enabled": {
          "example": true,
          "type": "boolean"
        },
        "provider": {
          "example": "example",
          "type": "string"
        }
      },
      "required": [
        "available",
        "enabled"
      ],
      "type": "object"
    }
  }
}
