{
  "openapi": "3.0.4",
  "info": {
    "title": "NexIdentity Public API",
    "description": "Tenant-facing NexIdentity API surface for applications, authorization, licensing, device trust, tenancy, and operational integration.",
    "version": "v1"
  },
  "paths": {
    "/api/applications": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterApplicationHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterApplicationHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterApplicationHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/organizations/{organizationId}": {
      "get": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}": {
      "get": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/environments": {
      "get": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateApplicationEnvironmentHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateApplicationEnvironmentHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateApplicationEnvironmentHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/environments/{environmentId}": {
      "get": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateApplicationEnvironmentHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateApplicationEnvironmentHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateApplicationEnvironmentHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "delete": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/external-consumption-policy": {
      "put": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateApplicationExternalConsumptionPolicyHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateApplicationExternalConsumptionPolicyHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateApplicationExternalConsumptionPolicyHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/clients/manifest-publisher": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/clients": {
      "get": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ProvisionApplicationClientHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ProvisionApplicationClientHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ProvisionApplicationClientHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/clients/{clientId}": {
      "put": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateApplicationClientHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateApplicationClientHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateApplicationClientHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/clients/{clientId}/rotate-secret": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/clients/{clientId}/disable": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/clients/{clientId}/enable": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/clients/manifest-publisher/rotate-secret": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/clients/manifest-publisher/disable": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/clients/manifest-publisher/enable": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/runtime/applications/{applicationId}/manifests": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.PublishFeatureManifestHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.PublishFeatureManifestHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.PublishFeatureManifestHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/manifests": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.PublishFeatureManifestHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.PublishFeatureManifestHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.PublishFeatureManifestHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "get": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/manifests/{manifestVersion}/approve": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "manifestVersion",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/manifests/{manifestVersion}/reject": {
      "post": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "manifestVersion",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/applications/{applicationId}/features/active": {
      "get": {
        "tags": [
          "ApplicationsApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/applications/{applicationId}/security-groups": {
      "get": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateSecurityGroupHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateSecurityGroupHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateSecurityGroupHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/security-groups/{securityGroupId}/permissions": {
      "put": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "securityGroupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetSecurityGroupPermissionsHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetSecurityGroupPermissionsHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetSecurityGroupPermissionsHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/security-groups/{securityGroupId}": {
      "get": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "securityGroupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "securityGroupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateSecurityGroupHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateSecurityGroupHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateSecurityGroupHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "delete": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "securityGroupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/applications/{applicationId}/roles": {
      "get": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateRoleHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateRoleHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateRoleHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/roles/{roleId}/security-groups": {
      "put": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetRoleSecurityGroupsHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetRoleSecurityGroupsHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetRoleSecurityGroupsHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/roles/{roleId}": {
      "get": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateRoleHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateRoleHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateRoleHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "delete": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/memberships/{membershipId}/applications/{applicationId}/security-groups": {
      "get": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipSecurityGroupsHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipSecurityGroupsHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipSecurityGroupsHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/memberships/{membershipId}/applications/{applicationId}/roles": {
      "put": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipRolesHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipRolesHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipRolesHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/memberships/{membershipId}/applications/{applicationId}/direct-permissions": {
      "put": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipDirectPermissionsHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipDirectPermissionsHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipDirectPermissionsHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/applications/{applicationId}/resource-scopes": {
      "get": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpsertResourceAuthorizationScopeHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpsertResourceAuthorizationScopeHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpsertResourceAuthorizationScopeHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/resource-scopes/{resourceScopeId}": {
      "get": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "resourceScopeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "delete": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "resourceScopeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/memberships/{membershipId}/applications/{applicationId}/resource-policies": {
      "get": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/authorization/memberships/{membershipId}/applications/{applicationId}/resource-scopes/{resourceScopeId}/policies": {
      "put": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "resourceScopeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipResourcePermissionPoliciesHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipResourcePermissionPoliciesHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetMembershipResourcePermissionPoliciesHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/runtime/authorization/me": {
      "get": {
        "tags": [
          "AuthorizationApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/runtime/authorization/check": {
      "post": {
        "tags": [
          "AuthorizationApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RuntimeAuthorizationCheckHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RuntimeAuthorizationCheckHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RuntimeAuthorizationCheckHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/runtime/authorization/check-scoped": {
      "post": {
        "tags": [
          "AuthorizationApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RuntimeScopedAuthorizationCheckHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RuntimeScopedAuthorizationCheckHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RuntimeScopedAuthorizationCheckHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/config-wallet/scopes": {
      "get": {
        "tags": [
          "ConfigWalletApi"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/internal/config-wallet/context-projection": {
      "get": {
        "tags": [
          "ConfigWalletApi"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/internal/config-wallet/authorization/decide": {
      "post": {
        "tags": [
          "ConfigWalletApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Contracts.Authorization.ConfigWalletAuthorizationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Contracts.Authorization.ConfigWalletAuthorizationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Contracts.Authorization.ConfigWalletAuthorizationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/data-subjects/{userId}/export": {
      "get": {
        "tags": [
          "DataSubjectApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/data-subjects/{userId}/erase": {
      "post": {
        "tags": [
          "DataSubjectApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/activations": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ActivateInstallationHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ActivateInstallationHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ActivateInstallationHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/activations/{activationId}/approve": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "activationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/activations/{activationId}/renew": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "activationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RenewOfflineLeaseHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RenewOfflineLeaseHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RenewOfflineLeaseHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/activations/{activationId}/heartbeat": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "activationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RecordActivationHeartbeatHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RecordActivationHeartbeatHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RecordActivationHeartbeatHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/activations/{activationId}/transfer": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "activationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.TransferActivationHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.TransferActivationHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.TransferActivationHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/entitlements/{entitlementId}/activations": {
      "get": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "entitlementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/activations/{activationId}/revoke": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "activationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RevokeActivationHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RevokeActivationHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RevokeActivationHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/organizations/{organizationId}/activations": {
      "get": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/activations/{activationId}": {
      "get": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "activationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/bootstrap/preview/claims": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateIoTBootstrapPreviewClaimHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateIoTBootstrapPreviewClaimHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateIoTBootstrapPreviewClaimHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/bootstrap/preview/ownership-transfers": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RequestIoTBootstrapPreviewOwnershipTransferHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RequestIoTBootstrapPreviewOwnershipTransferHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RequestIoTBootstrapPreviewOwnershipTransferHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/{deviceId}/credentials": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterDeviceCredentialHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterDeviceCredentialHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterDeviceCredentialHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "get": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/credentials/{credentialId}/rotate": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "credentialId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RotateDeviceCredentialHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RotateDeviceCredentialHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RotateDeviceCredentialHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/credentials/{credentialId}/revoke": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "credentialId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RevokeDeviceCredentialHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RevokeDeviceCredentialHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RevokeDeviceCredentialHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/{deviceId}/posture": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SubmitDevicePostureHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SubmitDevicePostureHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SubmitDevicePostureHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "get": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/{deviceId}/risk/transition": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.TransitionDeviceRiskHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.TransitionDeviceRiskHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.TransitionDeviceRiskHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/{deviceId}/lifecycle/transition": {
      "post": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.TransitionDeviceLifecycleHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.TransitionDeviceLifecycleHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.TransitionDeviceLifecycleHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices": {
      "get": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "OrganizationId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "LifecycleState",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RiskState",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ApplicationId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "LastSeenAfterUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "LastSeenBeforeUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "CredentialStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "HasAttestation",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "AttestationVerificationStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ActivationStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/devices/{deviceId}/detail": {
      "get": {
        "tags": [
          "DevicesApi"
        ],
        "parameters": [
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/register": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/external/providers": {
      "get": {
        "tags": [
          "IdentityApi"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/external/users/{userId}/links": {
      "get": {
        "tags": [
          "IdentityApi"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/external/link": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.LinkExternalLoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.LinkExternalLoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.LinkExternalLoginRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/login/password": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.PasswordLoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.PasswordLoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.PasswordLoginRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/passkeys/users/{userId}": {
      "get": {
        "tags": [
          "IdentityApi"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/passkeys/registration/options": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.BeginPasskeyRegistrationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.BeginPasskeyRegistrationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.BeginPasskeyRegistrationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/passkeys/registration/complete": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompletePasskeyRegistrationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompletePasskeyRegistrationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompletePasskeyRegistrationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/login/passkey/options": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.BeginPasskeyAuthenticationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.BeginPasskeyAuthenticationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.BeginPasskeyAuthenticationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/login/passkey/complete": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompletePasskeyAuthenticationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompletePasskeyAuthenticationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompletePasskeyAuthenticationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/passkeys/users/{userId}/credentials/{credentialId}": {
      "delete": {
        "tags": [
          "IdentityApi"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "credentialId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/password/forgot": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.StartPasswordResetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.StartPasswordResetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.StartPasswordResetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/password/reset": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompletePasswordResetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompletePasswordResetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompletePasswordResetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/mfa/reset/request": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.StartMfaResetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.StartMfaResetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.StartMfaResetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/mfa/reset/complete": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompleteMfaResetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompleteMfaResetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CompleteMfaResetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/mfa/totp/enroll": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.BeginTotpEnrollmentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.BeginTotpEnrollmentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.BeginTotpEnrollmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/mfa/totp/verify": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ConfirmTotpEnrollmentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ConfirmTotpEnrollmentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ConfirmTotpEnrollmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/mfa/recovery-codes/generate": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.GenerateRecoveryCodesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.GenerateRecoveryCodesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.GenerateRecoveryCodesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/mfa/recovery-codes/users/{userId}/summary": {
      "get": {
        "tags": [
          "IdentityApi"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/mfa/users/{userId}/methods": {
      "get": {
        "tags": [
          "IdentityApi"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/sessions/{sessionId}": {
      "get": {
        "tags": [
          "IdentityApi"
        ],
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/identity/context/select": {
      "post": {
        "tags": [
          "IdentityApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SelectContextRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SelectContextRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SelectContextRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/validate": {
      "post": {
        "tags": [
          "LicensingApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ValidateLicenseHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ValidateLicenseHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ValidateLicenseHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/applications/{applicationId}/products": {
      "get": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicensedProductHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicensedProductHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicensedProductHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/products/{productId}/status": {
      "put": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateLicensedResourceStatusHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateLicensedResourceStatusHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateLicensedResourceStatusHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/products/{productId}/marketplace": {
      "put": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMarketplaceSettingsHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMarketplaceSettingsHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMarketplaceSettingsHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/products/{productId}/editions": {
      "get": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "productId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicensedEditionHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicensedEditionHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicensedEditionHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/editions/{editionId}/status": {
      "put": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "editionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateLicensedResourceStatusHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateLicensedResourceStatusHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateLicensedResourceStatusHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/editions/{editionId}/marketplace": {
      "put": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "editionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMarketplaceSettingsHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMarketplaceSettingsHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMarketplaceSettingsHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/editions/{editionId}/feature-grants": {
      "get": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "editionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "editionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEditionFeatureGrantsHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEditionFeatureGrantsHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEditionFeatureGrantsHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/marketplace/allowlist": {
      "post": {
        "tags": [
          "LicensingApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Contracts.Licensing.AddMarketplaceAllowlistEntryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Contracts.Licensing.AddMarketplaceAllowlistEntryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Contracts.Licensing.AddMarketplaceAllowlistEntryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "get": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "productId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "editionId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "allowedTenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "allowedOrganizationId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/organizations/{organizationId}/marketplace/catalog": {
      "get": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/organizations/{organizationId}/product-installations": {
      "get": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterOrganizationProductInstallationHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterOrganizationProductInstallationHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterOrganizationProductInstallationHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/product-installations/{organizationProductInstallationId}/disable": {
      "post": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "organizationProductInstallationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/organizations/{organizationId}/subscriptions": {
      "get": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicenseSubscriptionHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicenseSubscriptionHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicenseSubscriptionHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/subscriptions/{subscriptionId}/status": {
      "put": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateSubscriptionStatusHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateSubscriptionStatusHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateSubscriptionStatusHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/subscriptions/{subscriptionId}/entitlements": {
      "get": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicenseEntitlementHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicenseEntitlementHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateLicenseEntitlementHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/licensing/entitlements/{entitlementId}/seats": {
      "get": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "entitlementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "LicensingApi"
        ],
        "parameters": [
          {
            "name": "entitlementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEntitlementSeatAssignmentsHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEntitlementSeatAssignmentsHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEntitlementSeatAssignmentsHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/internal/marketplace/billing/subscriptions/provider-state": {
      "post": {
        "tags": [
          "MarketplaceBillingApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Api.SyncMarketplaceSubscriptionProviderStateHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Api.SyncMarketplaceSubscriptionProviderStateHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Api.SyncMarketplaceSubscriptionProviderStateHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/internal/marketplace/billing/installations/status": {
      "get": {
        "tags": [
          "MarketplaceBillingApi"
        ],
        "parameters": [
          {
            "name": "consumerOrganizationId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "productId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "editionId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/v2/platform/status": {
      "get": {
        "tags": [
          "PlatformApiV"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/internal/platform/billing/tenants/{tenantId}/subscription/provider-state": {
      "post": {
        "tags": [
          "PlatformBillingApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SyncPlatformSubscriptionProviderStateHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SyncPlatformSubscriptionProviderStateHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SyncPlatformSubscriptionProviderStateHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/organizations/{organizationId}/analytics/privacy-preserving-summary": {
      "get": {
        "tags": [
          "PrivacyAnalyticsApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/profile/organizations/{organizationId}/field-definitions": {
      "get": {
        "tags": [
          "ProfilesApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/profile/organizations/{organizationId}/field-definitions/{fieldKey}": {
      "put": {
        "tags": [
          "ProfilesApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "fieldKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpsertProfileFieldDefinitionHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpsertProfileFieldDefinitionHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpsertProfileFieldDefinitionHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/profile/memberships/{membershipId}": {
      "get": {
        "tags": [
          "ProfilesApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "ProfilesApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpsertMembershipProfileHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpsertMembershipProfileHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpsertMembershipProfileHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/protocol/sessions/{sessionId}/context": {
      "get": {
        "tags": [
          "ProtocolApi"
        ],
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/protocol/clients/pkce": {
      "post": {
        "tags": [
          "ProtocolApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterPkceProtocolClientRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterPkceProtocolClientRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterPkceProtocolClientRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/protocol/clients": {
      "get": {
        "tags": [
          "ProtocolApi"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/device-trust/ssf/streams": {
      "post": {
        "tags": [
          "SharedSignalsStreamApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Contracts.DeviceTrust.CreateSharedSignalsStreamRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Contracts.DeviceTrust.CreateSharedSignalsStreamRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Contracts.DeviceTrust.CreateSharedSignalsStreamRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "get": {
        "tags": [
          "SharedSignalsStreamApi"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/device-trust/ssf/streams/{streamId}": {
      "get": {
        "tags": [
          "SharedSignalsStreamApi"
        ],
        "parameters": [
          {
            "name": "streamId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "delete": {
        "tags": [
          "SharedSignalsStreamApi"
        ],
        "parameters": [
          {
            "name": "streamId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/device-trust/ssf/streams/{streamId}/status": {
      "put": {
        "tags": [
          "SharedSignalsStreamApi"
        ],
        "parameters": [
          {
            "name": "streamId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Api.UpdateSharedSignalsStreamStatusHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Api.UpdateSharedSignalsStreamStatusHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Api.UpdateSharedSignalsStreamStatusHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenant-registrations": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterTenantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterTenantRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RegisterTenantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateTenantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateTenantRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateTenantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/organizations/portal": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateTenantOrganizationPortalHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateTenantOrganizationPortalHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateTenantOrganizationPortalHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/organizations/{organizationId}/summary": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/organizations/{organizationId}/authentication-policy": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetOrganizationAuthenticationPolicyHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetOrganizationAuthenticationPolicyHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetOrganizationAuthenticationPolicyHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/organizations/{organizationId}/enterprise-connections": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEnterpriseConnectionHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEnterpriseConnectionHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEnterpriseConnectionHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/enterprise-connections/{connectionId}": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEnterpriseConnectionHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEnterpriseConnectionHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetEnterpriseConnectionHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "delete": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/enterprise-connections/{connectionId}/scim/token": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RotateEnterpriseScimTokenHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RotateEnterpriseScimTokenHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RotateEnterpriseScimTokenHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/enterprise-connections/{connectionId}/diagnostics": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/organizations/{organizationId}/audit": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "outcome",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "actorId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subjectId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/organizations/{organizationId}/audit/export": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "outcome",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "actorId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subjectId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/organizations/{organizationId}/audit-webhooks": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateAuditWebhookSubscriptionHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateAuditWebhookSubscriptionHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateAuditWebhookSubscriptionHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/audit-webhooks/{subscriptionId}": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateAuditWebhookSubscriptionHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateAuditWebhookSubscriptionHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateAuditWebhookSubscriptionHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "delete": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/audit-webhooks/{subscriptionId}/secret": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/audit-webhooks/{subscriptionId}/deliveries": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/audit-webhooks/{subscriptionId}/deliveries/{deliveryId}/replay": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "deliveryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/governance": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      },
      "put": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetTenantGovernanceAssignmentHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetTenantGovernanceAssignmentHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SetTenantGovernanceAssignmentHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/members": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/platform-subscription": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/platform-subscription/history": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/platform-subscription/plan": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ChangeTenantPlatformSubscriptionPlanHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ChangeTenantPlatformSubscriptionPlanHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ChangeTenantPlatformSubscriptionPlanHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/platform-subscription/suspend": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/platform-subscription/reactivate": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/platform-subscription/renewal-preference": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ChangeTenantPlatformSubscriptionRenewalPreferenceHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ChangeTenantPlatformSubscriptionRenewalPreferenceHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ChangeTenantPlatformSubscriptionRenewalPreferenceHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/governance/{userId}": {
      "delete": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/organizations/{organizationId}/invitations/portal": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateOrganizationInvitationPortalHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateOrganizationInvitationPortalHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateOrganizationInvitationPortalHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/organizations/{organizationId}/memberships/portal": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateOrganizationMembershipPortalHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateOrganizationMembershipPortalHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.CreateOrganizationMembershipPortalHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/invitations/accept/portal": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.AcceptOrganizationInvitationHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.AcceptOrganizationInvitationHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.AcceptOrganizationInvitationHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/invitations/{invitationId}/resend/portal": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "invitationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ResendOrganizationInvitationHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ResendOrganizationInvitationHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ResendOrganizationInvitationHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/invitations/{invitationId}/revoke/portal": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "invitationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/memberships/{membershipId}/status/portal": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMembershipStatusHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMembershipStatusHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMembershipStatusHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/memberships/{membershipId}/type/portal": {
      "put": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMembershipTypeHttpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMembershipTypeHttpRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NexIdentity.Host.Contracts.UpdateMembershipTypeHttpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/memberships/{membershipId}/portal": {
      "delete": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/users/{userId}/contexts": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/users/{userId}/personal-workspace": {
      "post": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/users/{userId}/tenant-onboarding": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    },
    "/api/tenancy/tenants/{tenantId}/summary": {
      "get": {
        "tags": [
          "TenancyApi"
        ],
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          { }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "NexIdentity.Contracts.Authorization.ConfigWalletAuthorizationRequest": {
        "type": "object",
        "properties": {
          "actorUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "actorMembershipId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "scopeType": {
            "type": "string",
            "nullable": true
          },
          "actionKey": {
            "type": "string",
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "applicationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "applicationEnvironmentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "integrationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "deviceFleetId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "deviceInstallationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Contracts.DeviceTrust.CreateSharedSignalsStreamRequest": {
        "type": "object",
        "properties": {
          "audience": {
            "type": "string",
            "nullable": true
          },
          "deliveryEndpointUrl": {
            "type": "string",
            "nullable": true
          },
          "eventsRequested": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "authorizationHeader": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Contracts.DeviceTrust.IoTBootstrapPreviewFactoryCredentialReference": {
        "type": "object",
        "properties": {
          "referenceId": {
            "type": "string",
            "nullable": true
          },
          "credentialHash": {
            "type": "string",
            "nullable": true
          },
          "hashAlgorithm": {
            "type": "string",
            "nullable": true
          },
          "credentialType": {
            "type": "string",
            "nullable": true
          },
          "issuer": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Contracts.DeviceTrust.IoTBootstrapPreviewManufacturerIdentity": {
        "type": "object",
        "properties": {
          "manufacturerId": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "trustAnchorReference": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Contracts.DeviceTrust.IoTBootstrapPreviewOwnershipVoucherReference": {
        "type": "object",
        "properties": {
          "referenceId": {
            "type": "string",
            "nullable": true
          },
          "voucherHash": {
            "type": "string",
            "nullable": true
          },
          "hashAlgorithm": {
            "type": "string",
            "nullable": true
          },
          "issuer": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Contracts.Licensing.AddMarketplaceAllowlistEntryRequest": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "productId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "editionId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "allowedTenantId": {
            "type": "string",
            "format": "uuid"
          },
          "allowedOrganizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Api.SyncMarketplaceSubscriptionProviderStateHttpRequest": {
        "type": "object",
        "properties": {
          "consumerOrganizationId": {
            "type": "string",
            "format": "uuid"
          },
          "productId": {
            "type": "string",
            "format": "uuid"
          },
          "editionId": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "seatCount": {
            "type": "integer",
            "format": "int32"
          },
          "startsUtc": {
            "type": "string",
            "format": "date-time"
          },
          "endsUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "providerName": {
            "type": "string",
            "nullable": true
          },
          "providerCustomerId": {
            "type": "string",
            "nullable": true
          },
          "providerSubscriptionId": {
            "type": "string",
            "nullable": true
          },
          "providerCheckoutSessionId": {
            "type": "string",
            "nullable": true
          },
          "lastProviderSyncUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Api.UpdateSharedSignalsStreamStatusHttpRequest": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.AcceptOrganizationInvitationHttpRequest": {
        "type": "object",
        "properties": {
          "invitationToken": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.ActivateInstallationHttpRequest": {
        "type": "object",
        "properties": {
          "entitlementId": {
            "type": "string",
            "format": "uuid"
          },
          "hardwareFingerprint": {
            "type": "string",
            "nullable": true
          },
          "deviceDisplayName": {
            "type": "string",
            "nullable": true
          },
          "installationPublicKey": {
            "type": "string",
            "nullable": true
          },
          "applicationVersion": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.BeginPasskeyAuthenticationRequest": {
        "type": "object",
        "properties": {
          "userNameOrEmail": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.BeginPasskeyRegistrationRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "friendlyName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.BeginTotpEnrollmentRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "displayName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.ChangeTenantPlatformSubscriptionPlanHttpRequest": {
        "type": "object",
        "properties": {
          "platformPlanVersionId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.ChangeTenantPlatformSubscriptionRenewalPreferenceHttpRequest": {
        "type": "object",
        "properties": {
          "renewalPreference": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CompleteMfaResetRequest": {
        "type": "object",
        "properties": {
          "resetToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CompletePasskeyAuthenticationRequest": {
        "type": "object",
        "properties": {
          "challengeId": {
            "type": "string",
            "format": "uuid"
          },
          "assertionResponseJson": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CompletePasskeyRegistrationRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "challengeId": {
            "type": "string",
            "format": "uuid"
          },
          "attestationResponseJson": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CompletePasswordResetRequest": {
        "type": "object",
        "properties": {
          "resetToken": {
            "type": "string",
            "nullable": true
          },
          "newPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.ConfirmTotpEnrollmentRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "methodId": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateApplicationEnvironmentHttpRequest": {
        "type": "object",
        "properties": {
          "environmentKey": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateAuditWebhookSubscriptionHttpRequest": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "endpointUrl": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateIoTBootstrapPreviewClaimHttpRequest": {
        "type": "object",
        "properties": {
          "manufacturer": {
            "$ref": "#/components/schemas/NexIdentity.Contracts.DeviceTrust.IoTBootstrapPreviewManufacturerIdentity"
          },
          "ownershipVoucher": {
            "$ref": "#/components/schemas/NexIdentity.Contracts.DeviceTrust.IoTBootstrapPreviewOwnershipVoucherReference"
          },
          "factoryCredential": {
            "$ref": "#/components/schemas/NexIdentity.Contracts.DeviceTrust.IoTBootstrapPreviewFactoryCredentialReference"
          },
          "deviceModel": {
            "type": "string",
            "nullable": true
          },
          "deviceSerialNumberHash": {
            "type": "string",
            "nullable": true
          },
          "batchReference": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateLicenseEntitlementHttpRequest": {
        "type": "object",
        "properties": {
          "seatCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateLicenseSubscriptionHttpRequest": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "string",
            "format": "uuid"
          },
          "editionId": {
            "type": "string",
            "format": "uuid"
          },
          "startsUtc": {
            "type": "string",
            "format": "date-time"
          },
          "endsUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateLicensedEditionHttpRequest": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "seatLimit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "deviceLimit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "policy": {
            "$ref": "#/components/schemas/NexIdentity.Host.Contracts.LicensePolicyHttpRequest"
          },
          "marketplaceVisibility": {
            "type": "string",
            "nullable": true
          },
          "marketplacePublicationStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateLicensedProductHttpRequest": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "marketplaceVisibility": {
            "type": "string",
            "nullable": true
          },
          "marketplacePublicationStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateOrganizationInvitationPortalHttpRequest": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "membershipType": {
            "type": "string",
            "nullable": true
          },
          "expiresInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "continueUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateOrganizationMembershipPortalHttpRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "membershipType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateRoleHttpRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateSecurityGroupHttpRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateTenantOrganizationPortalHttpRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.CreateTenantRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.GenerateRecoveryCodesRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "count": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.LicensePolicyHttpRequest": {
        "type": "object",
        "properties": {
          "offlineMode": {
            "type": "string",
            "nullable": true
          },
          "offlineDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "graceDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "renewalWindowDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "allowTransfer": {
            "type": "boolean"
          },
          "maxTransfers": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "requireActivationApproval": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.LinkExternalLoginRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "providerKey": {
            "type": "string",
            "nullable": true
          },
          "providerSubject": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.ManifestFeatureHttpRequest": {
        "type": "object",
        "properties": {
          "featureKey": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "actions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.PasswordLoginRequest": {
        "type": "object",
        "properties": {
          "userNameOrEmail": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "mfaCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.ProvisionApplicationClientHttpRequest": {
        "type": "object",
        "properties": {
          "clientType": {
            "type": "string",
            "nullable": true
          },
          "purpose": {
            "type": "string",
            "nullable": true
          },
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "clientName": {
            "type": "string",
            "nullable": true
          },
          "redirectUris": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "postLogoutRedirectUris": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "allowedScopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "allowOfflineAccess": {
            "type": "boolean"
          },
          "clientCertificateThumbprint": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.PublishFeatureManifestHttpRequest": {
        "type": "object",
        "properties": {
          "applicationVersion": {
            "type": "string",
            "nullable": true
          },
          "manifestVersion": {
            "type": "string",
            "nullable": true
          },
          "features": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ManifestFeatureHttpRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RecordActivationHeartbeatHttpRequest": {
        "type": "object",
        "properties": {
          "hardwareFingerprint": {
            "type": "string",
            "nullable": true
          },
          "installationPublicKey": {
            "type": "string",
            "nullable": true
          },
          "applicationVersion": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RegisterApplicationHttpRequest": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "applicationKey": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "autoApproveManifests": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RegisterDeviceCredentialHttpRequest": {
        "type": "object",
        "properties": {
          "installationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "credentialType": {
            "type": "string",
            "nullable": true
          },
          "keyMaterialHash": {
            "type": "string",
            "nullable": true
          },
          "thumbprintHash": {
            "type": "string",
            "nullable": true
          },
          "expiresUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "certificateSubject": {
            "type": "string",
            "nullable": true
          },
          "certificateIssuer": {
            "type": "string",
            "nullable": true
          },
          "certificateSerialNumber": {
            "type": "string",
            "nullable": true
          },
          "certificateNotBeforeUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "certificateNotAfterUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expiryWarningUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RegisterOrganizationProductInstallationHttpRequest": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "string",
            "format": "uuid"
          },
          "editionId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RegisterPkceProtocolClientRequest": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "clientName": {
            "type": "string",
            "nullable": true
          },
          "redirectUris": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "postLogoutRedirectUris": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "allowedScopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "allowOfflineAccess": {
            "type": "boolean"
          },
          "requireClientSecret": {
            "type": "boolean"
          },
          "clientSecret": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RegisterTenantRequest": {
        "type": "object",
        "properties": {
          "tenantName": {
            "type": "string",
            "nullable": true
          },
          "tenantSlug": {
            "type": "string",
            "nullable": true
          },
          "organizationName": {
            "type": "string",
            "nullable": true
          },
          "organizationSlug": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "planCode": {
            "type": "string",
            "nullable": true
          },
          "paymentReference": {
            "type": "string",
            "nullable": true
          },
          "paymentEvidence": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RegisterUserRequest": {
        "type": "object",
        "properties": {
          "userName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RenewOfflineLeaseHttpRequest": {
        "type": "object",
        "properties": {
          "hardwareFingerprint": {
            "type": "string",
            "nullable": true
          },
          "installationPublicKey": {
            "type": "string",
            "nullable": true
          },
          "applicationVersion": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RequestIoTBootstrapPreviewOwnershipTransferHttpRequest": {
        "type": "object",
        "properties": {
          "bootstrapClaimId": {
            "type": "string",
            "format": "uuid"
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "applicationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownershipTransferRequestReference": {
            "type": "string",
            "nullable": true
          },
          "ownershipTransferRequestHash": {
            "type": "string",
            "nullable": true
          },
          "hashAlgorithm": {
            "type": "string",
            "nullable": true
          },
          "requestedBy": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.ResendOrganizationInvitationHttpRequest": {
        "type": "object",
        "properties": {
          "expiresInDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "continueUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.ResourcePermissionPolicyInputHttpRequest": {
        "type": "object",
        "properties": {
          "featureKey": {
            "type": "string",
            "nullable": true
          },
          "actionKey": {
            "type": "string",
            "nullable": true
          },
          "effect": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RevokeActivationHttpRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RevokeDeviceCredentialHttpRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RotateDeviceCredentialHttpRequest": {
        "type": "object",
        "properties": {
          "newKeyMaterialHash": {
            "type": "string",
            "nullable": true
          },
          "newThumbprintHash": {
            "type": "string",
            "nullable": true
          },
          "expiresUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "certificateSubject": {
            "type": "string",
            "nullable": true
          },
          "certificateIssuer": {
            "type": "string",
            "nullable": true
          },
          "certificateSerialNumber": {
            "type": "string",
            "nullable": true
          },
          "certificateNotBeforeUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "certificateNotAfterUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expiryWarningUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RotateEnterpriseScimTokenHttpRequest": {
        "type": "object",
        "properties": {
          "enableScim": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RuntimeAuthorizationCheckHttpRequest": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "format": "uuid"
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SecurityGroupPermissionHttpRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RuntimeAuthorizationResourceScopeHttpRequest": {
        "type": "object",
        "properties": {
          "resourceType": {
            "type": "string",
            "nullable": true
          },
          "resourceId": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "workspaceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "projectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.RuntimeScopedAuthorizationCheckHttpRequest": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "format": "uuid"
          },
          "entitlementId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "resource": {
            "$ref": "#/components/schemas/NexIdentity.Host.Contracts.RuntimeAuthorizationResourceScopeHttpRequest"
          },
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SecurityGroupPermissionHttpRequest"
            },
            "nullable": true
          },
          "licensedFeatureKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SecurityGroupPermissionHttpRequest": {
        "type": "object",
        "properties": {
          "featureKey": {
            "type": "string",
            "nullable": true
          },
          "actionKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SelectContextRequest": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "format": "uuid"
          },
          "membershipId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetEditionFeatureGrantsHttpRequest": {
        "type": "object",
        "properties": {
          "featureKeys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetEnterpriseConnectionHttpRequest": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "slug": {
            "type": "string",
            "nullable": true
          },
          "protocol": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "providerType": {
            "type": "string",
            "nullable": true
          },
          "providerKey": {
            "type": "string",
            "nullable": true
          },
          "oidcAuthority": {
            "type": "string",
            "nullable": true
          },
          "oidcMetadataAddress": {
            "type": "string",
            "nullable": true
          },
          "oidcClientId": {
            "type": "string",
            "nullable": true
          },
          "oidcClientSecret": {
            "type": "string",
            "nullable": true
          },
          "samlEntityId": {
            "type": "string",
            "nullable": true
          },
          "samlSingleSignOnUrl": {
            "type": "string",
            "nullable": true
          },
          "samlSigningCertificate": {
            "type": "string",
            "nullable": true
          },
          "jitEnabled": {
            "type": "boolean"
          },
          "jitAutoProvisionUsers": {
            "type": "boolean"
          },
          "jitAutoLinkByEmail": {
            "type": "boolean"
          },
          "jitRequireVerifiedEmail": {
            "type": "boolean"
          },
          "defaultMembershipType": {
            "type": "string",
            "nullable": true
          },
          "scimEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetEntitlementSeatAssignmentsHttpRequest": {
        "type": "object",
        "properties": {
          "membershipIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetMembershipDirectPermissionsHttpRequest": {
        "type": "object",
        "properties": {
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SecurityGroupPermissionHttpRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetMembershipResourcePermissionPoliciesHttpRequest": {
        "type": "object",
        "properties": {
          "policies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NexIdentity.Host.Contracts.ResourcePermissionPolicyInputHttpRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetMembershipRolesHttpRequest": {
        "type": "object",
        "properties": {
          "roleIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetMembershipSecurityGroupsHttpRequest": {
        "type": "object",
        "properties": {
          "securityGroupIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetOrganizationAuthenticationPolicyHttpRequest": {
        "type": "object",
        "properties": {
          "requireAdministratorPasskey": {
            "type": "boolean"
          },
          "requireAdministratorTotpForPasswordSignIn": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetRoleSecurityGroupsHttpRequest": {
        "type": "object",
        "properties": {
          "securityGroupIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetSecurityGroupPermissionsHttpRequest": {
        "type": "object",
        "properties": {
          "permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NexIdentity.Host.Contracts.SecurityGroupPermissionHttpRequest"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SetTenantGovernanceAssignmentHttpRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantGovernanceRole": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.StartMfaResetRequest": {
        "type": "object",
        "properties": {
          "userNameOrEmail": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.StartPasswordResetRequest": {
        "type": "object",
        "properties": {
          "userNameOrEmail": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SubmitDevicePostureHttpRequest": {
        "type": "object",
        "properties": {
          "installationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "osFamily": {
            "type": "string",
            "nullable": true
          },
          "osVersion": {
            "type": "string",
            "nullable": true
          },
          "isSecureBootEnabled": {
            "type": "boolean"
          },
          "isDiskEncrypted": {
            "type": "boolean"
          },
          "isTpmPresent": {
            "type": "boolean"
          },
          "isRootedOrJailbroken": {
            "type": "boolean"
          },
          "isMdmCompliant": {
            "type": "boolean"
          },
          "isEdrHealthy": {
            "type": "boolean"
          },
          "postureSource": {
            "type": "string",
            "nullable": true
          },
          "applicationVersion": {
            "type": "string",
            "nullable": true
          },
          "expiresUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.SyncPlatformSubscriptionProviderStateHttpRequest": {
        "type": "object",
        "properties": {
          "platformPlanVersionId": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "startsUtc": {
            "type": "string",
            "format": "date-time"
          },
          "endsUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "renewalPreference": {
            "type": "string",
            "nullable": true
          },
          "providerName": {
            "type": "string",
            "nullable": true
          },
          "providerCustomerId": {
            "type": "string",
            "nullable": true
          },
          "providerSubscriptionId": {
            "type": "string",
            "nullable": true
          },
          "providerCheckoutSessionId": {
            "type": "string",
            "nullable": true
          },
          "lastProviderSyncUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.TransferActivationHttpRequest": {
        "type": "object",
        "properties": {
          "hardwareFingerprint": {
            "type": "string",
            "nullable": true
          },
          "deviceDisplayName": {
            "type": "string",
            "nullable": true
          },
          "installationPublicKey": {
            "type": "string",
            "nullable": true
          },
          "applicationVersion": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.TransitionDeviceLifecycleHttpRequest": {
        "type": "object",
        "properties": {
          "targetLifecycleState": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.TransitionDeviceRiskHttpRequest": {
        "type": "object",
        "properties": {
          "targetRisk": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateApplicationClientHttpRequest": {
        "type": "object",
        "properties": {
          "clientType": {
            "type": "string",
            "nullable": true
          },
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "clientName": {
            "type": "string",
            "nullable": true
          },
          "redirectUris": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "postLogoutRedirectUris": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "allowedScopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "allowOfflineAccess": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateApplicationEnvironmentHttpRequest": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateApplicationExternalConsumptionPolicyHttpRequest": {
        "type": "object",
        "properties": {
          "externalConsumptionPolicy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateAuditWebhookSubscriptionHttpRequest": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "endpointUrl": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateLicensedResourceStatusHttpRequest": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateMarketplaceSettingsHttpRequest": {
        "type": "object",
        "properties": {
          "marketplaceVisibility": {
            "type": "string",
            "nullable": true
          },
          "marketplacePublicationStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateMembershipStatusHttpRequest": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateMembershipTypeHttpRequest": {
        "type": "object",
        "properties": {
          "membershipType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateRoleHttpRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateSecurityGroupHttpRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpdateSubscriptionStatusHttpRequest": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpsertMembershipProfileHttpRequest": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "jobTitle": {
            "type": "string",
            "nullable": true
          },
          "department": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "locale": {
            "type": "string",
            "nullable": true
          },
          "timeZone": {
            "type": "string",
            "nullable": true
          },
          "avatarUrl": {
            "type": "string",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpsertProfileFieldDefinitionHttpRequest": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "fieldType": {
            "type": "string",
            "nullable": true
          },
          "isRequired": {
            "type": "boolean"
          },
          "isUserEditable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.UpsertResourceAuthorizationScopeHttpRequest": {
        "type": "object",
        "properties": {
          "parentScopeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "resourceType": {
            "type": "string",
            "nullable": true
          },
          "resourceKey": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NexIdentity.Host.Contracts.ValidateLicenseHttpRequest": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "string",
            "format": "uuid"
          },
          "editionId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "consumerOrganizationId": {
            "type": "string",
            "format": "uuid"
          },
          "membershipId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "NexIdentity access token issued by the configured authority.",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "tags": [
    {
      "name": "ApplicationsApi"
    },
    {
      "name": "AuthorizationApi"
    },
    {
      "name": "ConfigWalletApi"
    },
    {
      "name": "DataSubjectApi"
    },
    {
      "name": "DevicesApi"
    },
    {
      "name": "IdentityApi"
    },
    {
      "name": "LicensingApi"
    },
    {
      "name": "MarketplaceBillingApi"
    },
    {
      "name": "PlatformApiV"
    },
    {
      "name": "PlatformBillingApi"
    },
    {
      "name": "PrivacyAnalyticsApi"
    },
    {
      "name": "ProfilesApi"
    },
    {
      "name": "ProtocolApi"
    },
    {
      "name": "SharedSignalsStreamApi"
    },
    {
      "name": "TenancyApi"
    }
  ]
}