{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-directory-service/json-schema/amazon-directory-service-disable-sso-request-schema.json",
  "title": "DisableSsoRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-directory-service-aws-directory-service-api-openapi.yml#/components/schemas/DisableSsoRequest",
  "type": "object",
  "properties": {
    "DirectoryId": {
      "type": "string",
      "description": "The identifier of the directory for which to disable single-sign on."
    },
    "UserName": {
      "type": "string",
      "description": "The username of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. This account must have privileges to remove a service principal name. If the AD Connector service account does not have privileges to remove a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to disable single sign-on and are not stored by the service. The AD Connector service account is not changed."
    },
    "Password": {
      "type": "string",
      "description": "The password of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter."
    }
  },
  "required": [
    "DirectoryId"
  ]
}