{
  "name": "Confirm",
  "plane": "control",
  "terraformEligible": false,
  "protocol": {
    "kind": "rest",
    "method": "POST",
    "path": "/auth/confirm",
    "query": [],
    "headers": [],
    "body": true
  },
  "requestBody": "json",
  "responseBody": "json",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "code": {
        "type": "string"
      },
      "email": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "tenant": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      },
      "vendor": {
        "default": null,
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "code"
    ],
    "title": "ConfirmRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "refreshToken": {
        "type": "string",
        "writeOnly": true,
        "x-sensitive": true
      },
      "token": {
        "type": "string",
        "writeOnly": true,
        "x-sensitive": true
      }
    },
    "required": [
      "refreshToken",
      "token"
    ],
    "title": "TokenResponse",
    "type": "object"
  }
}
