Generated reference / v1

REST API

Versioned contracts generated from actual source.

428 mounted operations · 462 directional DTO schemas · 0 unresolved operations

OpenAPI 3.1.1 describes the mounted service, including conditional operator routes and hosted HTML. Configuration and live permissions determine availability. Anonymous protocol envelopes are reviewed bindings; DTO shapes come from the Rust compiler. Download the full schema for nested models and generator use.

430 matching operations
GET/.well-known/jwks.jsonJwks

Mounted handler `discovery::jwks`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "keys": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "kty": {
                    "const": "RSA"
                  },
                  "n": {
                    "type": "string"
                  },
                  "e": {
                    "type": "string"
                  },
                  "alg": {
                    "const": "RS256"
                  },
                  "use": {
                    "const": "sig"
                  },
                  "kid": {
                    "type": "string"
                  }
                },
                "required": [
                  "kty",
                  "n",
                  "e",
                  "alg",
                  "use",
                  "kid"
                ]
              }
            }
          },
          "required": [
            "keys"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: discovery::jwks · src/routes/discovery.rs:170

GET/.well-known/oauth-authorization-serverOauth authorization server

Mounted handler `discovery::oauth_authorization_server`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "issuer": {
              "type": "string",
              "format": "uri"
            },
            "authorization_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "pushed_authorization_request_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "token_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "userinfo_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "registration_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "jwks_uri": {
              "type": "string",
              "format": "uri"
            },
            "revocation_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "introspection_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "end_session_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "device_authorization_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "dpop_signing_alg_values_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "scopes_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "response_types_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "grant_types_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "token_endpoint_auth_methods_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "introspection_endpoint_auth_methods_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "subject_types_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "prompt_values_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "acr_values_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "id_token_signing_alg_values_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "claims_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "code_challenge_methods_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "ui_locales_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "require_pushed_authorization_requests": {
              "type": "boolean"
            },
            "authorization_response_iss_parameter_supported": {
              "const": true
            },
            "resource_parameter_supported": {
              "const": true
            },
            "client_id_metadata_document_supported": {
              "const": true
            },
            "claims_parameter_supported": {
              "const": true
            }
          },
          "required": [
            "issuer",
            "authorization_endpoint",
            "pushed_authorization_request_endpoint",
            "token_endpoint",
            "userinfo_endpoint",
            "registration_endpoint",
            "jwks_uri",
            "revocation_endpoint",
            "introspection_endpoint",
            "end_session_endpoint",
            "device_authorization_endpoint",
            "dpop_signing_alg_values_supported",
            "scopes_supported",
            "response_types_supported",
            "grant_types_supported",
            "token_endpoint_auth_methods_supported",
            "introspection_endpoint_auth_methods_supported",
            "subject_types_supported",
            "prompt_values_supported",
            "acr_values_supported",
            "id_token_signing_alg_values_supported",
            "claims_supported",
            "code_challenge_methods_supported",
            "ui_locales_supported",
            "require_pushed_authorization_requests",
            "authorization_response_iss_parameter_supported",
            "resource_parameter_supported",
            "client_id_metadata_document_supported",
            "claims_parameter_supported"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: discovery::oauth_authorization_server · src/routes/discovery.rs:136

GET/.well-known/oauth-protected-resourceProtected resource metadata

Mounted handler `mcp::protected_resource_metadata`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "resource",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "resource": {
              "type": "string",
              "format": "uri"
            },
            "authorization_servers": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uri"
              }
            },
            "jwks_uri": {
              "type": "string",
              "format": "uri"
            },
            "scopes_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "resource_documentation": {
              "type": "string",
              "format": "uri"
            },
            "bearer_methods_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "introspection_endpoint": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "resource",
            "authorization_servers",
            "jwks_uri",
            "bearer_methods_supported",
            "introspection_endpoint",
            "resource_documentation"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: mcp::protected_resource_metadata · src/routes/mcp.rs:226

GET/.well-known/oauth-protected-resource/{suffix}Protected resource metadata with suffix

Mounted handler `mcp::protected_resource_metadata_with_suffix`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "resource",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "suffix",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "resource": {
              "type": "string",
              "format": "uri"
            },
            "authorization_servers": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uri"
              }
            },
            "jwks_uri": {
              "type": "string",
              "format": "uri"
            },
            "scopes_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "resource_documentation": {
              "type": "string",
              "format": "uri"
            },
            "bearer_methods_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "introspection_endpoint": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "resource",
            "authorization_servers",
            "jwks_uri",
            "bearer_methods_supported",
            "introspection_endpoint",
            "resource_documentation"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: mcp::protected_resource_metadata_with_suffix · src/routes/mcp.rs:243

GET/.well-known/openid-configurationOpenid configuration

Mounted handler `discovery::openid_configuration`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "issuer": {
              "type": "string",
              "format": "uri"
            },
            "authorization_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "pushed_authorization_request_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "token_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "userinfo_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "registration_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "jwks_uri": {
              "type": "string",
              "format": "uri"
            },
            "revocation_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "introspection_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "end_session_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "device_authorization_endpoint": {
              "type": "string",
              "format": "uri"
            },
            "dpop_signing_alg_values_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "scopes_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "response_types_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "grant_types_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "token_endpoint_auth_methods_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "introspection_endpoint_auth_methods_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "subject_types_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "prompt_values_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "acr_values_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "id_token_signing_alg_values_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "claims_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "code_challenge_methods_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "ui_locales_supported": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "require_pushed_authorization_requests": {
              "type": "boolean"
            },
            "authorization_response_iss_parameter_supported": {
              "const": true
            },
            "resource_parameter_supported": {
              "const": true
            },
            "client_id_metadata_document_supported": {
              "const": true
            },
            "claims_parameter_supported": {
              "const": true
            }
          },
          "required": [
            "issuer",
            "authorization_endpoint",
            "pushed_authorization_request_endpoint",
            "token_endpoint",
            "userinfo_endpoint",
            "registration_endpoint",
            "jwks_uri",
            "revocation_endpoint",
            "introspection_endpoint",
            "end_session_endpoint",
            "device_authorization_endpoint",
            "dpop_signing_alg_values_supported",
            "scopes_supported",
            "response_types_supported",
            "grant_types_supported",
            "token_endpoint_auth_methods_supported",
            "introspection_endpoint_auth_methods_supported",
            "subject_types_supported",
            "prompt_values_supported",
            "acr_values_supported",
            "id_token_signing_alg_values_supported",
            "claims_supported",
            "code_challenge_methods_supported",
            "ui_locales_supported",
            "require_pushed_authorization_requests",
            "authorization_response_iss_parameter_supported",
            "resource_parameter_supported",
            "client_id_metadata_document_supported",
            "claims_parameter_supported"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: discovery::openid_configuration · src/routes/discovery.rs:106

GET/.well-known/webauthnRelated origins

Mounted handler `webauthn_well_known::related_origins`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "origins": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uri"
              }
            }
          },
          "required": [
            "origins"
          ]
        }
      }
    }
  },
  "404": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "origins": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uri"
              }
            }
          },
          "required": [
            "origins"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: webauthn_well_known::related_origins · src/routes/webauthn_well_known.rs:25

GET/adminLegacy redirect response

Mounted handler `legacy_redirect_response`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "302": {
    "description": "Admin shell documents: the legacy parity gate, or for a browser navigation the shell retirement redirect to AUTH_SERVICE_ADMIN_SHELL_REDIRECT_URL (off by default).",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: legacy_redirect_response · src/app.rs:389

GET/admin/Legacy redirect response

Mounted handler `legacy_redirect_response`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "302": {
    "description": "Admin shell documents: the legacy parity gate, or for a browser navigation the shell retirement redirect to AUTH_SERVICE_ADMIN_SHELL_REDIRECT_URL (off by default).",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: legacy_redirect_response · src/app.rs:389

GET/admin/static/panel.cssLegacy redirect response

Mounted handler `legacy_redirect_response`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "302": {
    "description": "Admin shell documents: the legacy parity gate, or for a browser navigation the shell retirement redirect to AUTH_SERVICE_ADMIN_SHELL_REDIRECT_URL (off by default).",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: legacy_redirect_response · src/app.rs:389

GET/admin/static/panel.jsLegacy redirect response

Mounted handler `legacy_redirect_response`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "302": {
    "description": "Admin shell documents: the legacy parity gate, or for a browser navigation the shell retirement redirect to AUTH_SERVICE_ADMIN_SHELL_REDIRECT_URL (off by default).",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: legacy_redirect_response · src/app.rs:389

GET/api/admin-panelLegacy redirect response

Mounted handler `legacy_redirect_response`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "302": {
    "description": "Admin shell documents: the legacy parity gate, or for a browser navigation the shell retirement redirect to AUTH_SERVICE_ADMIN_SHELL_REDIRECT_URL (off by default).",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: legacy_redirect_response · src/app.rs:389

GET/api/admin-panel/Legacy redirect response

Mounted handler `legacy_redirect_response`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "302": {
    "description": "Admin shell documents: the legacy parity gate, or for a browser navigation the shell retirement redirect to AUTH_SERVICE_ADMIN_SHELL_REDIRECT_URL (off by default).",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: legacy_redirect_response · src/app.rs:389

GET/api/admin/appsList apps

Mounted handler `admin::list_apps`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.AppRegistrationOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_apps · src/routes/admin.rs:1294

POST/api/admin/appsCreate app

Mounted handler `admin::create_app`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.AppRegistrationCreate.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.AppRegistrationOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::create_app · src/routes/admin.rs:1330

DELETE/api/admin/apps/{app_id}Deactivate app

Mounted handler `admin::deactivate_app`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "app_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::deactivate_app · src/routes/admin.rs:1484

PUT/api/admin/apps/{app_id}Update app

Mounted handler `admin::update_app`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "app_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.AppRegistrationUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.AppRegistrationOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_app · src/routes/admin.rs:1410

GET/api/admin/audit-logsList audit logs

Mounted handler `admin::list_audit_logs`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "query",
    "name": "category",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "event_type",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "outcome",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "q",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": "integer",
      "format": "uint64",
      "minimum": 0,
      "default": 50
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "offset",
    "required": false,
    "schema": {
      "type": "integer",
      "format": "uint64",
      "minimum": 0,
      "default": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.AuditListOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_audit_logs · src/routes/admin.rs:2532

GET/api/admin/customer-applicationsList customer applications

Mounted handler `admin::list_customer_applications`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.CustomerAppOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_customer_applications · src/routes/admin.rs:2742

PUT/api/admin/customer-applications/{app_id}Update customer application

Mounted handler `admin::update_customer_application`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "app_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.CustomerAppUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.CustomerAppOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_customer_application · src/routes/admin.rs:2793

POST/api/admin/identity/recovery-ticketsAdmin mint recovery ticket

Mounted handler `hosted::admin_mint_recovery_ticket`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.AdminMintForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ticket_id": {
              "type": "string",
              "format": "uuid"
            },
            "code": {
              "type": "string"
            },
            "expires_at": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "ticket_id",
            "code",
            "expires_at"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/WebauthnError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::admin_mint_recovery_ticket · src/routes/hosted.rs:1773

POST/api/admin/keys/rotateRotate signing key

Mounted handler `admin::rotate_signing_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "new_kid": {
              "type": "string"
            },
            "retiring_kid": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "overlap_window_secs": {
              "type": "integer"
            }
          },
          "required": [
            "new_kid",
            "retiring_kid",
            "overlap_window_secs"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::rotate_signing_key · src/routes/admin.rs:3476

GET/api/admin/metricsDashboard metrics

Mounted handler `admin::dashboard_metrics`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.MetricsOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::dashboard_metrics · src/routes/admin.rs:2198

GET/api/admin/metrics/timeseriesMetrics timeseries

Mounted handler `admin::metrics_timeseries`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "query",
    "name": "days",
    "required": false,
    "schema": {
      "description": "Inclusive lookback window in days (1..=90). Default 30.",
      "type": "integer",
      "format": "uint32",
      "minimum": 0,
      "default": 30
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.TimeseriesOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::metrics_timeseries · src/routes/admin.rs:2389

GET/api/admin/oauth-clientsList oauth clients

Mounted handler `admin::list_oauth_clients`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.OAuthClientOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_oauth_clients · src/routes/admin.rs:789

POST/api/admin/oauth-clientsCreate oauth client

Mounted handler `admin::create_oauth_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.OAuthClientCreate.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.OAuthClientSecretOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::create_oauth_client · src/routes/admin.rs:859

PUT/api/admin/oauth-clients/{client_id}Update oauth client

Mounted handler `admin::update_oauth_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.OAuthClientUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.OAuthClientOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_oauth_client · src/routes/admin.rs:3382

POST/api/admin/oauth-clients/{client_id}/deactivateDeactivate oauth client

Mounted handler `admin::deactivate_oauth_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.OAuthClientOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::deactivate_oauth_client · src/routes/admin.rs:1117

POST/api/admin/oauth-clients/{client_id}/reactivateReactivate oauth client

Mounted handler `admin::reactivate_oauth_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.OAuthClientOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::reactivate_oauth_client · src/routes/admin.rs:1133

POST/api/admin/oauth-clients/{client_id}/revoke-all-tokensRevoke all client tokens

Mounted handler `admin::revoke_all_client_tokens`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "client_id": {
              "type": "string"
            },
            "revoked_count": {
              "type": "integer"
            }
          },
          "required": [
            "client_id",
            "revoked_count"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::revoke_all_client_tokens · src/routes/admin.rs:1150

POST/api/admin/oauth-clients/{client_id}/rotate-secretRotate oauth client secret

Mounted handler `admin::rotate_oauth_client_secret`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.OAuthClientSecretOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::rotate_oauth_client_secret · src/routes/admin.rs:1011

GET/api/admin/ops/outbox/sampleOutbox sample

Mounted handler `ops::outbox_sample`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": "integer",
      "default": 50,
      "minimum": 1,
      "maximum": 200
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "events": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "event_type": {
                    "type": "string"
                  },
                  "occurred_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "dedupe_key": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "attempts": {
                    "type": "integer"
                  },
                  "next_attempt_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "delivered_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "last_error": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "client_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "account_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "resource": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "quantity": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "units": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "payload": {
                    "description": "Application-defined JSON value; intentionally unconstrained extension data.",
                    "x-json-value": true
                  }
                },
                "required": [
                  "id",
                  "event_type",
                  "occurred_at",
                  "dedupe_key",
                  "status",
                  "attempts",
                  "next_attempt_at",
                  "delivered_at",
                  "last_error",
                  "client_id",
                  "account_id",
                  "resource",
                  "quantity",
                  "units",
                  "payload"
                ]
              }
            },
            "count": {
              "type": "integer"
            }
          },
          "required": [
            "events",
            "count"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: ops::outbox_sample · src/routes/ops.rs:178

GET/api/admin/ops/statusOps status

Mounted handler `ops::ops_status`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "usage_outbox": {
              "type": "object",
              "properties": {
                "enabled": {
                  "type": "boolean"
                },
                "sink": {
                  "type": "string"
                },
                "pending": {
                  "type": "integer"
                },
                "failed": {
                  "type": "integer"
                },
                "delivered_24h": {
                  "type": "integer"
                },
                "oldest_pending_seconds": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "enabled",
                "sink",
                "pending",
                "failed",
                "delivered_24h",
                "oldest_pending_seconds"
              ]
            },
            "signing_keys": {
              "type": "object",
              "properties": {
                "active_kid": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "active_age_seconds": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "rotation_period_seconds": {
                  "type": "integer"
                },
                "retiring_count": {
                  "type": "integer"
                }
              },
              "required": [
                "active_kid",
                "active_age_seconds",
                "rotation_period_seconds",
                "retiring_count"
              ]
            },
            "retention": {
              "type": "object",
              "properties": {
                "enabled": {
                  "type": "boolean"
                },
                "sweep_interval_seconds": {
                  "type": "integer"
                },
                "rules": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "table": {
                        "type": "string"
                      },
                      "ttl_seconds": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "table",
                      "ttl_seconds"
                    ]
                  }
                }
              },
              "required": [
                "enabled",
                "sweep_interval_seconds",
                "rules"
              ]
            },
            "rls_ambient_use": {
              "type": "object",
              "properties": {
                "mode": {
                  "enum": [
                    "unset",
                    "allow",
                    "deny"
                  ]
                },
                "effective": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "ambient": {
                          "enum": [
                            "unset",
                            "allow",
                            "deny",
                            "invalid"
                          ]
                        },
                        "role_bypasses_rls": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "ambient",
                        "role_bypasses_rls"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "total": {
                  "type": "integer"
                },
                "by_route": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "integer"
                  }
                },
                "system_by_reason": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "integer"
                  }
                }
              },
              "required": [
                "mode",
                "effective",
                "total",
                "by_route",
                "system_by_reason"
              ]
            },
            "legacy_auth_routes": {
              "type": "object",
              "properties": {
                "deprecated_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "sunset": {
                  "type": "string"
                },
                "sunset_is_placeholder": {
                  "type": "boolean"
                },
                "total": {
                  "type": "integer"
                },
                "by_route": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "route": {
                        "type": "string"
                      },
                      "client_id": {
                        "type": "string"
                      },
                      "outcome": {
                        "enum": [
                          "success",
                          "client_error",
                          "server_error"
                        ]
                      },
                      "count": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "route",
                      "client_id",
                      "outcome",
                      "count"
                    ]
                  }
                }
              },
              "required": [
                "deprecated_at",
                "sunset",
                "sunset_is_placeholder",
                "total",
                "by_route"
              ]
            },
            "tenant_hosts": {
              "type": "object",
              "properties": {
                "mode": {
                  "enum": [
                    "off",
                    "shadow",
                    "on",
                    "invalid"
                  ]
                },
                "platform": {
                  "type": "integer"
                },
                "tenant": {
                  "type": "integer"
                },
                "unknown": {
                  "type": "integer"
                },
                "invalid": {
                  "type": "integer"
                },
                "forwarded_list": {
                  "type": "integer"
                },
                "lookups": {
                  "type": "integer"
                },
                "lookup_errors": {
                  "type": "integer"
                },
                "budget_refused": {
                  "type": "integer"
                },
                "busy_refused": {
                  "type": "integer"
                },
                "cache_hits": {
                  "type": "integer"
                },
                "pinned_hosts": {
                  "type": "integer"
                },
                "cached_hosts": {
                  "type": "integer"
                },
                "cached_unknown_hosts": {
                  "type": "integer"
                }
              },
              "required": [
                "mode",
                "platform",
                "tenant",
                "unknown",
                "invalid",
                "forwarded_list",
                "lookups",
                "lookup_errors",
                "budget_refused",
                "busy_refused",
                "cache_hits",
                "pinned_hosts",
                "cached_hosts",
                "cached_unknown_hosts"
              ]
            }
          },
          "required": [
            "usage_outbox",
            "signing_keys",
            "retention",
            "rls_ambient_use",
            "legacy_auth_routes",
            "tenant_hosts"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: ops::ops_status · src/routes/ops.rs:27

GET/api/admin/otp-routesList otp routes

Mounted handler `admin::list_otp_routes`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.OtpRouteListOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_otp_routes · src/routes/admin.rs:3966

DELETE/api/admin/otp-routes/{country_code}Delete otp route

Mounted handler `admin::delete_otp_route`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "country_code",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::delete_otp_route · src/routes/admin.rs:4088

PUT/api/admin/otp-routes/{country_code}Upsert otp route

Mounted handler `admin::upsert_otp_route`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "country_code",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.OtpRouteUpsert.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.otp.routing.OtpRoute.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::upsert_otp_route · src/routes/admin.rs:3991

GET/api/admin/permissionsList permissions

Mounted handler `admin::list_permissions`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.PermissionOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_permissions · src/routes/admin.rs:450

POST/api/admin/permissionsCreate permission

Mounted handler `admin::create_permission`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.PermissionCreate.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.PermissionOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::create_permission · src/routes/admin.rs:484

GET/api/admin/rolesList roles

Mounted handler `admin::list_roles`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.RoleOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_roles · src/routes/admin.rs:310

POST/api/admin/rolesCreate role

Mounted handler `admin::create_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.RoleCreate.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.RoleOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::create_role · src/routes/admin.rs:339

DELETE/api/admin/roles/{role_id}Delete role

Mounted handler `admin::delete_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::delete_role · src/routes/admin.rs:404

GET/api/admin/roles/{role_id}Get role

Mounted handler `admin::get_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.RoleOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::get_role · src/routes/admin.rs:380

PUT/api/admin/roles/{role_id}Update role

Mounted handler `admin::update_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.RoleUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.RoleOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_role · src/routes/admin.rs:3315

DELETE/api/admin/roles/{role_id}/permissions/{permission_id}Remove permission from role

Mounted handler `admin::remove_permission_from_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "permission_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::remove_permission_from_role · src/routes/admin.rs:606

POST/api/admin/roles/{role_id}/permissions/{permission_id}Add permission to role

Mounted handler `admin::add_permission_to_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "permission_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::add_permission_to_role · src/routes/admin.rs:556

GET/api/admin/subscriptionsList all subscriptions

Mounted handler `admin::list_all_subscriptions`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "query",
    "name": "user_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "app_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "status",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "q",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": "integer",
      "format": "uint64",
      "minimum": 0,
      "default": 50
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "offset",
    "required": false,
    "schema": {
      "type": "integer",
      "format": "uint64",
      "minimum": 0,
      "default": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.SubscriptionListOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_all_subscriptions · src/routes/admin.rs:1551

POST/api/admin/subscriptionsCreate flat subscription

Mounted handler `admin::create_flat_subscription`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.FlatSubscriptionCreate.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.SubscriptionOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::create_flat_subscription · src/routes/admin.rs:1718

DELETE/api/admin/subscriptions/{sub_id}Cancel flat subscription

Mounted handler `admin::cancel_flat_subscription`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "sub_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::cancel_flat_subscription · src/routes/admin.rs:1943

PUT/api/admin/subscriptions/{sub_id}Update flat subscription

Mounted handler `admin::update_flat_subscription`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "sub_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.SubscriptionUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.SubscriptionOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_flat_subscription · src/routes/admin.rs:1837

GET/api/admin/tenant-domainsList tenant domains

Mounted handler `admin::list_tenant_domains`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "query",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.TenantDomainView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_tenant_domains · src/routes/admin.rs:3586

POST/api/admin/tenant-domainsCreate tenant domain

Mounted handler `admin::create_tenant_domain`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.TenantDomainCreate.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.TenantDomainView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::create_tenant_domain · src/routes/admin.rs:3605

POST/api/admin/tenant-domains/{domain_id}/statusSet tenant domain status

Mounted handler `admin::set_tenant_domain_status`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "domain_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.TenantDomainStatusUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.TenantDomainView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::set_tenant_domain_status · src/routes/admin.rs:3640

GET/api/admin/tenant-keysList tenant keys

Mounted handler `admin::list_tenant_keys`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "query",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.TenantKeyView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_tenant_keys · src/routes/admin.rs:3762

POST/api/admin/tenant-keys/revokeRevoke tenant key

Mounted handler `admin::revoke_tenant_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.TenantKeyRevoke.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.TenantKeyRevoked.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::revoke_tenant_key · src/routes/admin.rs:3834

POST/api/admin/tenant-keys/rotateRotate tenant key

Mounted handler `admin::rotate_tenant_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.TenantKeyRotate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.TenantKeyRotated.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::rotate_tenant_key · src/routes/admin.rs:3790

GET/api/admin/token-pack-pricesList token prices

Mounted handler `admin::list_token_prices`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.TokenPriceOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_token_prices · src/routes/admin.rs:3093

POST/api/admin/token-pack-pricesCreate token price

Mounted handler `admin::create_token_price`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.TokenPriceCreate.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.TokenPriceOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::create_token_price · src/routes/admin.rs:3146

PUT/api/admin/token-pack-prices/{price_id}Update token price

Mounted handler `admin::update_token_price`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "price_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.TokenPriceUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.TokenPriceOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_token_price · src/routes/admin.rs:3234

GET/api/admin/token-packsList token packs

Mounted handler `admin::list_token_packs`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.TokenPackOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_token_packs · src/routes/admin.rs:2910

POST/api/admin/token-packsCreate token pack

Mounted handler `admin::create_token_pack`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.TokenPackCreate.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.TokenPackOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::create_token_pack · src/routes/admin.rs:2943

PUT/api/admin/token-packs/{pack_id}Update token pack

Mounted handler `admin::update_token_pack`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "pack_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.TokenPackUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.TokenPackOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_token_pack · src/routes/admin.rs:3009

GET/api/admin/usersList users

Mounted handler `admin::list_users`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "query",
    "name": "q",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": "integer",
      "format": "uint64",
      "minimum": 0,
      "default": 50
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "offset",
    "required": false,
    "schema": {
      "type": "integer",
      "format": "uint64",
      "minimum": 0,
      "default": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.UserListOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_users · src/routes/admin.rs:2029

GET/api/admin/users/{user_id}Get user

Mounted handler `admin::get_user`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.UserOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::get_user · src/routes/admin.rs:2071

PUT/api/admin/users/{user_id}Update user

Mounted handler `admin::update_user`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.UserUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.UserOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_user · src/routes/admin.rs:2104

POST/api/admin/users/{user_id}/invalidate-tokensInvalidate user tokens

Mounted handler `admin::invalidate_user_tokens`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "user_id": {
              "type": "string",
              "format": "uuid"
            },
            "token_version": {
              "type": "integer"
            },
            "revoked_sessions": {
              "type": "integer"
            }
          },
          "required": [
            "user_id",
            "token_version",
            "revoked_sessions"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::invalidate_user_tokens · src/routes/admin.rs:1246

GET/api/admin/users/{user_id}/rolesGet user roles

Mounted handler `admin::get_user_roles`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.RoleOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::get_user_roles · src/routes/admin.rs:658

POST/api/admin/users/{user_id}/rolesAssign role to user

Mounted handler `admin::assign_role_to_user`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.AssignRoleBody.input"
      }
    }
  }
}
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::assign_role_to_user · src/routes/admin.rs:688

DELETE/api/admin/users/{user_id}/roles/{role_id}Revoke role from user

Mounted handler `admin::revoke_role_from_user`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::revoke_role_from_user · src/routes/admin.rs:741

POST/api/admin/users/{user_id}/sessions/revoke-allAdmin revoke all user sessions

Mounted handler `admin::admin_revoke_all_user_sessions`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "revoked_count": {
              "type": "integer"
            }
          },
          "required": [
            "revoked_count"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::admin_revoke_all_user_sessions · src/routes/admin.rs:1210

GET/api/admin/users/{user_id}/subscriptionsList user subscriptions

Mounted handler `admin::list_user_subscriptions`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.SubscriptionOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_user_subscriptions · src/routes/admin.rs:1603

POST/api/admin/users/{user_id}/subscriptionsCreate user subscription

Mounted handler `admin::create_user_subscription`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.SubscriptionCreate.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.SubscriptionOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::create_user_subscription · src/routes/admin.rs:1728

DELETE/api/admin/users/{user_id}/subscriptions/{sub_id}Cancel user subscription

Mounted handler `admin::cancel_user_subscription`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sub_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::cancel_user_subscription · src/routes/admin.rs:1933

PUT/api/admin/users/{user_id}/subscriptions/{sub_id}Update user subscription

Mounted handler `admin::update_user_subscription`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sub_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.SubscriptionUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.SubscriptionOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_user_subscription · src/routes/admin.rs:1825

GET/api/admin/walletsList wallets

Mounted handler `admin::list_wallets`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.admin.WalletOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::list_wallets · src/routes/admin.rs:2620

PUT/api/admin/wallets/{wallet_id}Update wallet

Mounted handler `admin::update_wallet`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "wallet_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.admin.WalletUpdate.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.admin.WalletOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: admin::update_wallet · src/routes/admin.rs:2662

POST/api/auth/loginPassword login

Mounted handler `auth::password_login`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.auth.PasswordLoginRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.auth.LoginResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::password_login · src/routes/auth.rs:232

POST/api/auth/login/second-factorSecond factor

Mounted handler `auth_mfa::second_factor`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.auth_mfa.SecondFactorRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/routes.auth.LoginResponse.output"
            },
            {
              "type": "object",
              "properties": {
                "publicKey": {
                  "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
                },
                "mediation": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "publicKey",
                "mediation"
              ]
            },
            {
              "type": "object",
              "properties": {
                "ok": {
                  "const": true
                },
                "expires_in": {
                  "type": "integer"
                }
              },
              "required": [
                "ok",
                "expires_in"
              ]
            }
          ]
        }
      }
    }
  },
  "401": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/routes.auth.LoginResponse.output"
            },
            {
              "type": "object",
              "properties": {
                "publicKey": {
                  "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
                },
                "mediation": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "publicKey",
                "mediation"
              ]
            },
            {
              "type": "object",
              "properties": {
                "ok": {
                  "const": true
                },
                "expires_in": {
                  "type": "integer"
                }
              },
              "required": [
                "ok",
                "expires_in"
              ]
            }
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth_mfa::second_factor · src/routes/auth_mfa.rs:244

POST/api/auth/otp/sendSend otp

Mounted handler `otp::send_otp`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey or clientBasic or Registered body authentication / policy-dependent public flow

Explicit session mode/environment/nonce requires an application API key with otp:send or otp:verify. Registered public-client compatibility and configured Basic broker are separate paths; absence of an API key does not grant session-mode authority.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.OtpSendRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.otp.OtpSendResponse.output"
        }
      }
    }
  },
  "429": {
    "description": "Rate/storage budget exhausted. New nonce-attempt/tombstone storage uses a configurable per-application 24-hour budget (OTP_SESSION_ATTEMPT_LIMIT_PER_DAY, default 10000). Its quota response uses Retry-After: 86400. Known-attempt cancellation and idempotent retries consume no new slot and are not blocked solely by this budget; normal authentication/rate limits still apply. Keep the original binding/key for reconciliation; never auto-replay OTP verify after uncertainty.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      }
    },
    "headers": {
      "Retry-After": {
        "schema": {
          "type": "string"
        },
        "description": "Seconds before retry. New-attempt storage quota returns 86400; other authentication/delivery rate limits may differ."
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::send_otp · src/routes/otp.rs:656

POST/api/auth/otp/verifyVerify otp

Mounted handler `otp::verify_otp`. Live permissions, account/directory ownership and factor policy are enforced by the service. Explicit API-key session mode can return a flat nonce-bound ID receipt; verify both signatures and exact purpose/issuer/client/resource/nonce/auth_time/amr/at_hash before creating a BFF session. Token issuance errors use generic400 invalid,403 denied or503 storage-unavailable errors; a timeout is an uncertain issuance requiring nonce-scoped cancellation reconciliation.

Authentication: applicationApiKey or clientBasic or Registered body authentication / policy-dependent public flow

Explicit session mode/environment/nonce requires an application API key with otp:send or otp:verify. Registered public-client compatibility and configured Basic broker are separate paths; absence of an API key does not grant session-mode authority.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.OtpVerifyRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/routes.auth.LoginResponse.output"
            },
            {
              "$ref": "#/components/schemas/routes.otp.VerificationResponse.output"
            }
          ]
        }
      }
    },
    "headers": {
      "Cache-Control": {
        "schema": {
          "const": "no-store"
        }
      },
      "Pragma": {
        "schema": {
          "const": "no-cache"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::verify_otp · src/routes/otp.rs:790

POST/api/internal/v1/control-plane/resource-servers/enrollEnroll resource server

Mounted handler `crate::control_plane::enroll::enroll_resource_server`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/control_plane.enroll.EnrollmentRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "enum": [
                "enrolled",
                "rotated",
                "unchanged"
              ]
            }
          },
          "required": [
            "status"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: crate::control_plane::enroll::enroll_resource_server · src/control_plane/enroll.rs:280

POST/api/internal/v1/control-plane/subjects/{subject_action}Control plane subject authorize

Mounted handler `oauth::control_plane_subject_authorize`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: clientBasic or Registered body authentication / policy-dependent public flow

Registered client_secret_basic header or client_secret_post form body; none only for explicitly allowed public-client grants. Empty security alternative represents form authentication, not unauthenticated access.

[
  {
    "in": "path",
    "name": "subject_action",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/control_plane.wire.SubjectAuthorizeRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.SubjectAuthorizeResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth::control_plane_subject_authorize · src/routes/oauth.rs:2949

POST/api/internal/v1/payments/webhookPayments webhook

Mounted handler `saas::payments_webhook`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "header",
    "name": "X-Py-Event-Id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Provider event ID; must match the signed envelope."
  },
  {
    "in": "header",
    "name": "X-Py-Signature",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Provider HMAC-SHA256 timestamp/signature envelope; verify raw bytes before parsing. Format: t=<unix-seconds>,v1=<lowercase-hex-HMAC>; signs timestamp + dot + the exact raw body."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.payments.RouterEventEnvelope.input"
      }
    }
  }
}
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::payments_webhook · src/routes/saas.rs:1062

POST/auth/consentSubmit

Mounted handler `agreements_consent::submit`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.agreements_consent.ConsentBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string"
            }
          },
          "required": [
            "status"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agreements_consent::submit · src/routes/agreements_consent.rs:251

POST/auth/loginPassword login

Mounted handler `auth::password_login`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.auth.PasswordLoginRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.auth.LoginResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::password_login · src/routes/auth.rs:232

POST/auth/login/second-factorSecond factor

Mounted handler `auth_mfa::second_factor`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.auth_mfa.SecondFactorRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/routes.auth.LoginResponse.output"
            },
            {
              "type": "object",
              "properties": {
                "publicKey": {
                  "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
                },
                "mediation": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "publicKey",
                "mediation"
              ]
            },
            {
              "type": "object",
              "properties": {
                "ok": {
                  "const": true
                },
                "expires_in": {
                  "type": "integer"
                }
              },
              "required": [
                "ok",
                "expires_in"
              ]
            }
          ]
        }
      }
    }
  },
  "401": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/routes.auth.LoginResponse.output"
            },
            {
              "type": "object",
              "properties": {
                "publicKey": {
                  "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
                },
                "mediation": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "publicKey",
                "mediation"
              ]
            },
            {
              "type": "object",
              "properties": {
                "ok": {
                  "const": true
                },
                "expires_in": {
                  "type": "integer"
                }
              },
              "required": [
                "ok",
                "expires_in"
              ]
            }
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth_mfa::second_factor · src/routes/auth_mfa.rs:244

POST/auth/logoutLogout

Mounted handler `auth::logout`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": false,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.auth.LogoutRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "const": "ok"
            },
            "revoked": {
              "type": "boolean"
            }
          },
          "required": [
            "status",
            "revoked"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::logout · src/routes/auth.rs:859

POST/auth/logout-allLogout all

Mounted handler `auth::logout_all`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "revoked_count": {
              "type": "integer"
            }
          },
          "required": [
            "revoked_count"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::logout_all · src/routes/auth.rs:985

GET/auth/meMe

Mounted handler `auth::me`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.auth.AuthenticatedUser.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::me · src/routes/auth.rs:772

POST/auth/otp/sendSend otp

Mounted handler `otp::send_otp`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey or clientBasic or Registered body authentication / policy-dependent public flow

Explicit session mode/environment/nonce requires an application API key with otp:send or otp:verify. Registered public-client compatibility and configured Basic broker are separate paths; absence of an API key does not grant session-mode authority.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.OtpSendRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.otp.OtpSendResponse.output"
        }
      }
    }
  },
  "429": {
    "description": "Rate/storage budget exhausted. New nonce-attempt/tombstone storage uses a configurable per-application 24-hour budget (OTP_SESSION_ATTEMPT_LIMIT_PER_DAY, default 10000). Its quota response uses Retry-After: 86400. Known-attempt cancellation and idempotent retries consume no new slot and are not blocked solely by this budget; normal authentication/rate limits still apply. Keep the original binding/key for reconciliation; never auto-replay OTP verify after uncertainty.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      }
    },
    "headers": {
      "Retry-After": {
        "schema": {
          "type": "string"
        },
        "description": "Seconds before retry. New-attempt storage quota returns 86400; other authentication/delivery rate limits may differ."
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::send_otp · src/routes/otp.rs:656

POST/auth/otp/session/cancelCancel

Mounted handler `otp_session::cancel`. Live permissions, account/directory ownership and factor policy are enforced by the service. Requires the original application API key with otp:verify; no Basic/introspection credential or end-user JWT. Idempotently tombstones the exact app/client/environment/nonce binding even before send. If already issued, revokes only its new OAuth session and refresh descendants. Keep the original key available until uncertain attempts are acknowledged. New unknown bindings are limited by OTP_SESSION_ATTEMPT_LIMIT_PER_DAY (default 10000 per application/24 hours), returning 429 with Retry-After: 86400; known-attempt cancellation/idempotent retry remains available at that quota subject to normal authentication. Never auto-replay OTP verify after a timeout. No contact, OTP, channel, tokens or session identifiers are accepted or returned.

Authentication: applicationApiKey

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp_session.CancelRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "$ref": "#/components/schemas/routes.otp_session.CancelResponse.output"
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "const": "cancelled"
                }
              },
              "required": [
                "status"
              ]
            }
          ]
        }
      }
    },
    "headers": {
      "Cache-Control": {
        "schema": {
          "const": "no-store"
        }
      }
    }
  },
  "429": {
    "description": "Rate/storage budget exhausted. New nonce-attempt/tombstone storage uses a configurable per-application 24-hour budget (OTP_SESSION_ATTEMPT_LIMIT_PER_DAY, default 10000). Its quota response uses Retry-After: 86400. Known-attempt cancellation and idempotent retries consume no new slot and are not blocked solely by this budget; normal authentication/rate limits still apply. Keep the original binding/key for reconciliation; never auto-replay OTP verify after uncertainty.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      }
    },
    "headers": {
      "Retry-After": {
        "schema": {
          "type": "string"
        },
        "description": "Seconds before retry. New-attempt storage quota returns 86400; other authentication/delivery rate limits may differ."
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp_session::cancel · src/routes/otp_session.rs:28

POST/auth/otp/verifyVerify otp

Mounted handler `otp::verify_otp`. Live permissions, account/directory ownership and factor policy are enforced by the service. Explicit API-key session mode can return a flat nonce-bound ID receipt; verify both signatures and exact purpose/issuer/client/resource/nonce/auth_time/amr/at_hash before creating a BFF session. Token issuance errors use generic400 invalid,403 denied or503 storage-unavailable errors; a timeout is an uncertain issuance requiring nonce-scoped cancellation reconciliation.

Authentication: applicationApiKey or clientBasic or Registered body authentication / policy-dependent public flow

Explicit session mode/environment/nonce requires an application API key with otp:send or otp:verify. Registered public-client compatibility and configured Basic broker are separate paths; absence of an API key does not grant session-mode authority.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.OtpVerifyRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/routes.auth.LoginResponse.output"
            },
            {
              "$ref": "#/components/schemas/routes.otp.VerificationResponse.output"
            }
          ]
        }
      }
    },
    "headers": {
      "Cache-Control": {
        "schema": {
          "const": "no-store"
        }
      },
      "Pragma": {
        "schema": {
          "const": "no-cache"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::verify_otp · src/routes/otp.rs:790

POST/auth/portal/logoutPortal logout

Mounted handler `auth::portal_logout`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "const": "ok"
            },
            "revoked": {
              "type": "boolean"
            }
          },
          "required": [
            "status",
            "revoked"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::portal_logout · src/routes/auth.rs:740

POST/auth/portal/oauth/exchangeExchange

Mounted handler `console_session::exchange`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.console_session.ConsoleOAuthExchangeRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.auth.PortalAuthenticationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: console_session::exchange · src/routes/console_session.rs:66

POST/auth/portal/otp/verifyPortal verify otp

Mounted handler `otp::portal_verify_otp`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.OtpVerifyRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.auth.PortalAuthenticationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::portal_verify_otp · src/routes/otp.rs:969

POST/auth/portal/refreshPortal refresh

Mounted handler `auth::portal_refresh`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.auth.PortalAuthenticationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::portal_refresh · src/routes/auth.rs:722

POST/auth/portal/register/verifyPortal register otp verify

Mounted handler `otp::portal_register_otp_verify`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.RegisterOtpVerifyRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.auth.PortalAuthenticationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::portal_register_otp_verify · src/routes/otp.rs:1150

POST/auth/refreshRefresh token

Mounted handler `auth::refresh_token`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.auth.RefreshTokenRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.token_store.TokenResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::refresh_token · src/routes/auth.rs:570

POST/auth/register/email-otpRegister email otp send

Mounted handler `otp::register_email_otp_send`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.EmailOtpSendRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.otp.OtpSendResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::register_email_otp_send · src/routes/otp.rs:1201

POST/auth/register/email-verifyRegister email otp verify

Mounted handler `otp::register_email_otp_verify`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.EmailOtpVerifyRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.otp.EmailVerifyResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::register_email_otp_verify · src/routes/otp.rs:1272

POST/auth/register/otpRegister otp send

Mounted handler `otp::register_otp_send`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.RegisterOtpSendRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.otp.OtpSendResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::register_otp_send · src/routes/otp.rs:1066

POST/auth/register/verifyRegister otp verify

Mounted handler `otp::register_otp_verify`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.otp.RegisterOtpVerifyRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.auth.LoginResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: otp::register_otp_verify · src/routes/otp.rs:1110

GET/auth/sessionsList sessions

Mounted handler `auth::list_sessions`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.auth.AuthSessionResponse.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::list_sessions · src/routes/auth.rs:816

POST/auth/sessions/{session_id}/revokeRevoke session endpoint

Mounted handler `auth::revoke_session_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "session_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "const": "ok"
            },
            "revoked": {
              "type": "boolean"
            }
          },
          "required": [
            "status",
            "revoked"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: auth::revoke_session_endpoint · src/routes/auth.rs:1049

GET/authorizeAuthorize get

Mounted handler `oauth_authorize::authorize_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

[
  {
    "in": "query",
    "name": "response_type",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "redirect_uri",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "scope",
    "required": false,
    "schema": {
      "type": "string",
      "default": ""
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "state",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "nonce",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "code_challenge",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "code_challenge_method",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "prompt",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `prompt`: space-delimited. `none` and `login` are acted on for every\nclient; `consent` and `select_account` for clients with strict handling (INC-57), which\nalso refuses any other value. Without it they are logged and ignored.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "max_age",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `max_age` in seconds: an older session must\nre-authenticate. Parsed in [`max_age_seconds`].",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "acr_values",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `acr_values`: space-delimited, in order of preference. The\nauthentication this request ends with must be one of them, or the request\nfails with `unmet_authentication_requirements` (WP-11 R-11.5).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "organization",
    "required": false,
    "schema": {
      "description": "The organization (id or slug) the sign-in is for. A member of it gets `org_id` and\n`org_roles` in the tokens; anyone else is refused with `access_denied` (WP-16a\nR-16.2). Absent means no organization claims.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "login_hint",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `login_hint`: prefills the email field when it is an address.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "ui_locales",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `ui_locales`: the hosted pages take the first language they have\n(English only so far); never an error.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "id_token_hint",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `id_token_hint`: an ID token of this issuer (it may have expired)\nnaming the only person this request may be answered for.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "claims",
    "required": false,
    "schema": {
      "description": "OIDC Core 5.5 `claims`: a specific `sub` and an essential `acr` are required of the\nauthentication; claims are released by the granted scopes alone.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "request",
    "required": false,
    "schema": {
      "description": "OIDC Core 6 request object / 6.2 request URI: not supported, answered with\n`request_not_supported` / `request_uri_not_supported` (R-11.8).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "request_uri",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "dpop_jkt",
    "required": false,
    "schema": {
      "description": "RFC 9449 section 10: the thumbprint of the DPoP key the code is requested for. The code\nis then exchanged only with a proof from that key.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "authorization_details",
    "required": false,
    "schema": {
      "description": "RFC 9396 `authorization_details` (INC-74): a JSON array, checked against the types the\nclient may ask for and shown on the consent page. Ignored unless enabled.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "resource",
    "required": false,
    "schema": {
      "description": "RFC 8707 resource indicator(s). Accepts a single `resource=` string\n(Cursor / MCP clients) or repeated query parameters.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "identifier_kind",
    "required": false,
    "schema": {
      "description": "Which identifier tab the page renders first (\"phone\" or \"email\"). The\ntab links carry it as a query parameter, so the switch works without\nJavaScript; it is not an OAuth parameter and is round-tripped only.",
      "type": "string",
      "default": "phone"
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::authorize_get · src/routes/oauth_authorize/mod.rs:446

POST/authorizeAuthorize post

Mounted handler `oauth_authorize::authorize_post`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth_authorize.AuthorizeForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::authorize_post · src/routes/oauth_authorize/mod.rs:942

POST/control-plane/v1/capabilities:checkCapability check endpoint

Mounted handler `control_plane::capability_check_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/control_plane.wire.CapabilityCheckRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.CapabilityCheckResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/problem+json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ProblemDetails.output"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: control_plane::capability_check_endpoint · src/routes/control_plane.rs:234

GET/control-plane/v1/descriptorDescriptor endpoint

Mounted handler `control_plane::descriptor_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.PluginDescriptorV1.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/problem+json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ProblemDetails.output"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: control_plane::descriptor_endpoint · src/routes/control_plane.rs:190

GET/control-plane/v1/me/capabilitiesCapabilities endpoint

Mounted handler `control_plane::capabilities_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.CapabilitySnapshot.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/problem+json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ProblemDetails.output"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: control_plane::capabilities_endpoint · src/routes/control_plane.rs:199

GET/control-plane/v1/operations/{operation_path}Get operation endpoint

Mounted handler `control_plane::get_operation_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "operation_path",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.OperationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/problem+json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ProblemDetails.output"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: control_plane::get_operation_endpoint · src/routes/control_plane.rs:350

POST/control-plane/v1/operations/{operation_path}Transition operation endpoint

Mounted handler `control_plane::transition_operation_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "operation_path",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/control_plane.wire.OperationTransitionRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.OperationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/problem+json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ProblemDetails.output"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: control_plane::transition_operation_endpoint · src/routes/control_plane.rs:463

POST/control-plane/v1/operations:preparePrepare operation endpoint

Mounted handler `control_plane::prepare_operation_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/control_plane.wire.PrepareOperationRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.OperationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/problem+json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ProblemDetails.output"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: control_plane::prepare_operation_endpoint · src/routes/control_plane.rs:331

GET/control-plane/v1/resources/{resource_path}Read resource endpoint

Mounted handler `control_plane::read_resource_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "resource_path",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ResourceRecord.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/problem+json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ProblemDetails.output"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: control_plane::read_resource_endpoint · src/routes/control_plane.rs:298

POST/control-plane/v1/resources/{resource_path}Query resource endpoint

Mounted handler `control_plane::query_resource_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "resource_path",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/control_plane.wire.ResourceQueryRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ResourceQueryResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/problem+json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ProblemDetails.output"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: control_plane::query_resource_endpoint · src/routes/control_plane.rs:265

GET/control-plane/v1/tenant-domains/{domain_id}/statusCustom domain status endpoint

Mounted handler `control_plane::custom_domain_status_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

[
  {
    "in": "path",
    "name": "domain_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.control_plane.CustomDomainStatusView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/problem+json": {
        "schema": {
          "$ref": "#/components/schemas/control_plane.wire.ProblemDetails.output"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: control_plane::custom_domain_status_endpoint · src/routes/control_plane.rs:440

GET/federation/link/{proof_id}Federation link get

Mounted handler `oauth_authorize::federation_link_get`. Live permissions, account/directory ownership and factor policy are enforced by the service. The interactive link proof (INC-18): an upstream sign-in found an existing account that holds the address and may not be attached on the provider's word, so the verified result is parked and the person proves the account with a factor it already has (a code emailed to a verified address of it, an authenticator-app code, or a passkey). It works only in the browser that finished the upstream sign-in (an HttpOnly cookie scoped to this proof, whose hash the parked row holds), once, for ten minutes, with five wrong answers and three emailed codes at most, and the principal carries the sign-in progressive delay across proofs. An unknown, spent, expired or another browser's proof is one and the same expired page. Nothing says what the account has. The identity is inserted, the proof spent and the session started in one transaction; identity.linked carries method interactive.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "proof_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::federation_link_get · src/routes/oauth_authorize/mod.rs:814

POST/federation/link/{proof_id}Federation link post

Mounted handler `oauth_authorize::federation_link_post`. Live permissions, account/directory ownership and factor policy are enforced by the service. The interactive link proof (INC-18): an upstream sign-in found an existing account that holds the address and may not be attached on the provider's word, so the verified result is parked and the person proves the account with a factor it already has (a code emailed to a verified address of it, an authenticator-app code, or a passkey). It works only in the browser that finished the upstream sign-in (an HttpOnly cookie scoped to this proof, whose hash the parked row holds), once, for ten minutes, with five wrong answers and three emailed codes at most, and the principal carries the sign-in progressive delay across proofs. An unknown, spent, expired or another browser's proof is one and the same expired page. Nothing says what the account has. The identity is inserted, the proof spent and the session started in one transaction; identity.linked carries method interactive.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "proof_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth_authorize.link.LinkProofForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::federation_link_post · src/routes/oauth_authorize/mod.rs:826

POST/federation/link/{proof_id}/passkey/finishFederation link passkey finish

Mounted handler `oauth_authorize::federation_link_passkey_finish`. Live permissions, account/directory ownership and factor policy are enforced by the service. The interactive link proof (INC-18): an upstream sign-in found an existing account that holds the address and may not be attached on the provider's word, so the verified result is parked and the person proves the account with a factor it already has (a code emailed to a verified address of it, an authenticator-app code, or a passkey). It works only in the browser that finished the upstream sign-in (an HttpOnly cookie scoped to this proof, whose hash the parked row holds), once, for ten minutes, with five wrong answers and three emailed codes at most, and the principal carries the sign-in progressive delay across proofs. An unknown, spent, expired or another browser's proof is one and the same expired page. Nothing says what the account has. The identity is inserted, the proof spent and the session started in one transaction; identity.linked carries method interactive.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "proof_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth_authorize.link.LinkPasskeyFinish.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ok": {
              "type": "boolean"
            },
            "continue_to": {
              "type": "string"
            }
          },
          "required": [
            "ok",
            "continue_to"
          ]
        }
      }
    }
  },
  "401": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ok": {
              "type": "boolean"
            },
            "continue_to": {
              "type": "string"
            }
          },
          "required": [
            "ok",
            "continue_to"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::federation_link_passkey_finish · src/routes/oauth_authorize/mod.rs:861

POST/federation/link/{proof_id}/passkey/startFederation link passkey start

Mounted handler `oauth_authorize::federation_link_passkey_start`. Live permissions, account/directory ownership and factor policy are enforced by the service. The interactive link proof (INC-18): an upstream sign-in found an existing account that holds the address and may not be attached on the provider's word, so the verified result is parked and the person proves the account with a factor it already has (a code emailed to a verified address of it, an authenticator-app code, or a passkey). It works only in the browser that finished the upstream sign-in (an HttpOnly cookie scoped to this proof, whose hash the parked row holds), once, for ten minutes, with five wrong answers and three emailed codes at most, and the principal carries the sign-in progressive delay across proofs. An unknown, spent, expired or another browser's proof is one and the same expired page. Nothing says what the account has. The identity is inserted, the proof spent and the session started in one transaction; identity.linked carries method interactive.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "proof_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "publicKey": {
              "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
            },
            "mediation": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "publicKey",
            "mediation"
          ]
        }
      }
    }
  },
  "401": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "publicKey": {
              "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
            },
            "mediation": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "publicKey",
            "mediation"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::federation_link_passkey_start · src/routes/oauth_authorize/mod.rs:838

GET/federation/oidc/{connection_id}/callbackFederation callback

Mounted handler `oauth_authorize::federation_callback`. Live permissions, account/directory ownership and factor policy are enforced by the service. Serves the providers that redirect back with a query (generic OIDC, Google, Microsoft, GitHub); a connection whose provider answers by a form POST (Apple) refuses a GET here and nothing is spent. A draft connection is accepted here only to finish a connection test login (INC-10): the answer is verified and mapped as in a real sign-in, and nothing is linked, provisioned, signed in, issued or announced (a SAML assertion is still recorded as used). A real sign-in begun on a connection that is no longer enabled is refused after its state is spent.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "code",
    "required": false,
    "schema": {
      "description": "The authorization code to exchange.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "state",
    "required": false,
    "schema": {
      "description": "The state sent on the outbound redirect, spent once.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "iss",
    "required": false,
    "schema": {
      "description": "RFC 9207 issuer identification.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "error",
    "required": false,
    "schema": {
      "description": "An error the provider reports instead of a code.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::federation_callback · src/routes/oauth_authorize/mod.rs:874

POST/federation/oidc/{connection_id}/callbackFederation callback post

Mounted handler `oauth_authorize::federation_callback_post`. Live permissions, account/directory ownership and factor policy are enforced by the service. The form-post callback of a provider that answers by a cross-site POST (Apple, INC-14). It is the same flow as the GET callback, and a connection of another provider refuses it without spending its state. It is open to a cross-site POST by design (the origin guard exempts exactly this path) and is bound by the single-use login state, the HttpOnly correlation cookie and the code exchange. The user field is unauthenticated and display-only: only a bounded name is read from it. A posted id_token is ignored; the ID token is read from the token endpoint after the code exchange. The answer is a 303 to /oauth/authorize, or a hosted error page.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth_authorize.CallbackForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::federation_callback_post · src/routes/oauth_authorize/mod.rs:900

GET/federation/oidc/{connection_id}/startFederation start

Mounted handler `oauth_authorize::federation_start`. Live permissions, account/directory ownership and factor policy are enforced by the service. With only a test_login ticket (INC-10) this starts a connection test login instead of a sign-in, and may run on a draft connection; a draft connection answers anything else as a connection that does not exist.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "response_type",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "redirect_uri",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "scope",
    "required": false,
    "schema": {
      "type": "string",
      "default": ""
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "state",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "nonce",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "code_challenge",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "code_challenge_method",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "prompt",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `prompt`: space-delimited. `none` and `login` are acted on for every\nclient; `consent` and `select_account` for clients with strict handling (INC-57), which\nalso refuses any other value. Without it they are logged and ignored.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "max_age",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `max_age` in seconds: an older session must\nre-authenticate. Parsed in [`max_age_seconds`].",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "acr_values",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `acr_values`: space-delimited, in order of preference. The\nauthentication this request ends with must be one of them, or the request\nfails with `unmet_authentication_requirements` (WP-11 R-11.5).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "organization",
    "required": false,
    "schema": {
      "description": "The organization (id or slug) the sign-in is for. A member of it gets `org_id` and\n`org_roles` in the tokens; anyone else is refused with `access_denied` (WP-16a\nR-16.2). Absent means no organization claims.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "login_hint",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `login_hint`: prefills the email field when it is an address.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "ui_locales",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `ui_locales`: the hosted pages take the first language they have\n(English only so far); never an error.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "id_token_hint",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `id_token_hint`: an ID token of this issuer (it may have expired)\nnaming the only person this request may be answered for.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "claims",
    "required": false,
    "schema": {
      "description": "OIDC Core 5.5 `claims`: a specific `sub` and an essential `acr` are required of the\nauthentication; claims are released by the granted scopes alone.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "request",
    "required": false,
    "schema": {
      "description": "OIDC Core 6 request object / 6.2 request URI: not supported, answered with\n`request_not_supported` / `request_uri_not_supported` (R-11.8).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "request_uri",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "dpop_jkt",
    "required": false,
    "schema": {
      "description": "RFC 9449 section 10: the thumbprint of the DPoP key the code is requested for. The code\nis then exchanged only with a proof from that key.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "authorization_details",
    "required": false,
    "schema": {
      "description": "RFC 9396 `authorization_details` (INC-74): a JSON array, checked against the types the\nclient may ask for and shown on the consent page. Ignored unless enabled.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "resource",
    "required": false,
    "schema": {
      "description": "RFC 8707 resource indicator(s). Accepts a single `resource=` string\n(Cursor / MCP clients) or repeated query parameters.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "identifier_kind",
    "required": false,
    "schema": {
      "description": "Which identifier tab the page renders first (\"phone\" or \"email\"). The\ntab links carry it as a query parameter, so the switch works without\nJavaScript; it is not an OAuth parameter and is round-tripped only.",
      "type": "string",
      "default": "phone"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "query",
    "name": "test_login",
    "required": false,
    "schema": {
      "type": "string"
    },
    "description": "Internal. The ticket of a connection test login (POST .../connections/{id}/test-login). Honoured only when it is the request's one and only parameter; beside any authorize parameter it is ignored and the request is an ordinary sign-in. Works once, for ten minutes, on a draft or enabled connection."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::federation_start · src/routes/oauth_authorize/mod.rs:765

GET/federation/saml/{connection_id}/startFederation saml start

Mounted handler `oauth_authorize::federation_saml_start`. Live permissions, account/directory ownership and factor policy are enforced by the service. With only a test_login ticket (INC-10) this starts a connection test login instead of a sign-in, and may run on a draft connection; a draft connection answers anything else as a connection that does not exist.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "response_type",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "redirect_uri",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "scope",
    "required": false,
    "schema": {
      "type": "string",
      "default": ""
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "state",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "nonce",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "code_challenge",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "code_challenge_method",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "prompt",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `prompt`: space-delimited. `none` and `login` are acted on for every\nclient; `consent` and `select_account` for clients with strict handling (INC-57), which\nalso refuses any other value. Without it they are logged and ignored.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "max_age",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `max_age` in seconds: an older session must\nre-authenticate. Parsed in [`max_age_seconds`].",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "acr_values",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `acr_values`: space-delimited, in order of preference. The\nauthentication this request ends with must be one of them, or the request\nfails with `unmet_authentication_requirements` (WP-11 R-11.5).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "organization",
    "required": false,
    "schema": {
      "description": "The organization (id or slug) the sign-in is for. A member of it gets `org_id` and\n`org_roles` in the tokens; anyone else is refused with `access_denied` (WP-16a\nR-16.2). Absent means no organization claims.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "login_hint",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `login_hint`: prefills the email field when it is an address.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "ui_locales",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `ui_locales`: the hosted pages take the first language they have\n(English only so far); never an error.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "id_token_hint",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `id_token_hint`: an ID token of this issuer (it may have expired)\nnaming the only person this request may be answered for.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "claims",
    "required": false,
    "schema": {
      "description": "OIDC Core 5.5 `claims`: a specific `sub` and an essential `acr` are required of the\nauthentication; claims are released by the granted scopes alone.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "request",
    "required": false,
    "schema": {
      "description": "OIDC Core 6 request object / 6.2 request URI: not supported, answered with\n`request_not_supported` / `request_uri_not_supported` (R-11.8).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "request_uri",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "dpop_jkt",
    "required": false,
    "schema": {
      "description": "RFC 9449 section 10: the thumbprint of the DPoP key the code is requested for. The code\nis then exchanged only with a proof from that key.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "authorization_details",
    "required": false,
    "schema": {
      "description": "RFC 9396 `authorization_details` (INC-74): a JSON array, checked against the types the\nclient may ask for and shown on the consent page. Ignored unless enabled.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "resource",
    "required": false,
    "schema": {
      "description": "RFC 8707 resource indicator(s). Accepts a single `resource=` string\n(Cursor / MCP clients) or repeated query parameters.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "identifier_kind",
    "required": false,
    "schema": {
      "description": "Which identifier tab the page renders first (\"phone\" or \"email\"). The\ntab links carry it as a query parameter, so the switch works without\nJavaScript; it is not an OAuth parameter and is round-tripped only.",
      "type": "string",
      "default": "phone"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "query",
    "name": "test_login",
    "required": false,
    "schema": {
      "type": "string"
    },
    "description": "Internal. The ticket of a connection test login (POST .../connections/{id}/test-login). Honoured only when it is the request's one and only parameter; beside any authorize parameter it is ignored and the request is an ordinary sign-in. Works once, for ten minutes, on a draft or enabled connection."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::federation_saml_start · src/routes/oauth_authorize/mod.rs:777

GET/graphqlGraphql playground

Mounted handler `crate::graphql::graphql_playground`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: crate::graphql::graphql_playground · src/graphql/mod.rs:743

POST/graphqlGraphql handler

Mounted handler `crate::graphql::graphql_handler`. Live permissions, account/directory ownership and factor policy are enforced by the service. Query and mutation fields are defined by the generated GraphQL SDL, not this transport envelope.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          },
          "operationName": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "variables": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": {
                  "description": "Application-defined JSON value; intentionally unconstrained extension data.",
                  "x-json-value": true
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "extensions": {
            "description": "Application-defined JSON value; intentionally unconstrained extension data.",
            "x-json-value": true
          }
        },
        "required": [
          "query"
        ]
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "data": {
              "anyOf": [
                {
                  "description": "Application-defined JSON value; intentionally unconstrained extension data.",
                  "x-json-value": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "errors": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "message": {
                    "type": "string"
                  },
                  "locations": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "line": {
                          "type": "integer"
                        },
                        "column": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "line",
                        "column"
                      ]
                    }
                  },
                  "path": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        }
                      ]
                    }
                  },
                  "extensions": {
                    "description": "Application-defined JSON value; intentionally unconstrained extension data.",
                    "x-json-value": true
                  }
                },
                "required": [
                  "message"
                ]
              }
            },
            "extensions": {
              "description": "Application-defined JSON value; intentionally unconstrained extension data.",
              "x-json-value": true
            }
          },
          "required": []
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: crate::graphql::graphql_handler · src/graphql/mod.rs:729

GET/healthHealth

Mounted handler `discovery::health`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "const": "ok"
            }
          },
          "required": [
            "status"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: discovery::health · src/routes/discovery.rs:226

GET/health/liveHealth

Mounted handler `discovery::health`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "const": "ok"
            }
          },
          "required": [
            "status"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: discovery::health · src/routes/discovery.rs:226

GET/health/readyHealth ready

Mounted handler `discovery::health_ready`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "enum": [
                "ready",
                "unavailable"
              ]
            },
            "database": {
              "type": "boolean"
            },
            "signing_keys": {
              "type": "boolean"
            }
          },
          "required": [
            "status",
            "database",
            "signing_keys"
          ]
        }
      }
    }
  },
  "503": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "status": {
              "enum": [
                "ready",
                "unavailable"
              ]
            },
            "database": {
              "type": "boolean"
            },
            "signing_keys": {
              "type": "boolean"
            }
          },
          "required": [
            "status",
            "database",
            "signing_keys"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: discovery::health_ready · src/routes/discovery.rs:243

GET/hosted/agreementsGet

Mounted handler `agreements_hosted::get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

[
  {
    "in": "query",
    "name": "return",
    "required": false,
    "schema": {
      "description": "Names the parked request; never an address.",
      "type": "string",
      "default": ""
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agreements_hosted::get · src/routes/agreements_hosted.rs:452

POST/hosted/agreementsPost

Mounted handler `agreements_hosted::post`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.agreements_hosted.AgreementsForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agreements_hosted::post · src/routes/agreements_hosted.rs:503

GET/hosted/appsApps get

Mounted handler `hosted::apps_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

[
  {
    "in": "query",
    "name": "directory",
    "required": false,
    "schema": {
      "description": "The directory a signed-out visitor wants to sign in to.",
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "iss",
    "required": false,
    "schema": {
      "description": "Present on the way back from the sign-in hand-off.",
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::apps_get · src/routes/hosted.rs:185

GET/hosted/recoveryRecovery get

Mounted handler `hosted::recovery_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "client_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "identifier",
    "required": false,
    "schema": {
      "type": "string",
      "default": ""
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "otp",
    "required": false,
    "schema": {
      "type": "string",
      "default": ""
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "ticket",
    "required": false,
    "schema": {
      "type": "string",
      "default": ""
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "dir",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "default": null
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::recovery_get · src/routes/hosted.rs:366

POST/hosted/recoveryRecovery post

Mounted handler `hosted::recovery_post`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.RecoveryForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::recovery_post · src/routes/hosted.rs:393

POST/hosted/recovery/redeemRecovery redeem

Mounted handler `hosted::recovery_redeem`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.RecoveryForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::recovery_redeem · src/routes/hosted.rs:617

POST/hosted/recovery/verifyRecovery verify

Mounted handler `hosted::recovery_verify`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.RecoveryForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::recovery_verify · src/routes/hosted.rs:457

GET/hosted/securitySecurity get

Mounted handler `hosted::security_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::security_get · src/routes/hosted.rs:772

POST/hosted/security/authenticator/deleteAuthenticator delete

Mounted handler `hosted::authenticator_delete`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.AuthenticatorDeleteForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::authenticator_delete · src/routes/hosted.rs:1283

POST/hosted/security/grant/revokeGrant revoke

Mounted handler `hosted::grant_revoke`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.GrantRevokeForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::grant_revoke · src/routes/hosted.rs:1195

GET/hosted/security/mfaMfa get

Mounted handler `hosted_mfa::mfa_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

[
  {
    "in": "query",
    "name": "return_to",
    "required": false,
    "schema": {
      "description": "The authorize request a refused sign-in came from; see [`safe_return_to`].",
      "type": "string",
      "default": ""
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted_mfa::mfa_get · src/routes/hosted_mfa.rs:167

POST/hosted/security/mfa/recovery/regenerateRecovery regenerate

Mounted handler `hosted_mfa::recovery_regenerate`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted_mfa.ProofForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted_mfa::recovery_regenerate · src/routes/hosted_mfa.rs:613

POST/hosted/security/mfa/totp/confirmTotp confirm

Mounted handler `hosted_mfa::totp_confirm`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted_mfa.ConfirmForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted_mfa::totp_confirm · src/routes/hosted_mfa.rs:351

POST/hosted/security/mfa/totp/removeTotp remove

Mounted handler `hosted_mfa::totp_remove`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted_mfa.ProofForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted_mfa::totp_remove · src/routes/hosted_mfa.rs:539

POST/hosted/security/mfa/totp/startTotp start

Mounted handler `hosted_mfa::totp_start`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted_mfa.StartForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted_mfa::totp_start · src/routes/hosted_mfa.rs:251

POST/hosted/security/session/revokeSession revoke

Mounted handler `hosted::session_revoke`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.SessionRevokeForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::session_revoke · src/routes/hosted.rs:1077

POST/hosted/webauthn/assert/finishWa assert finish

Mounted handler `hosted::wa_assert_finish`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "allOf": [
          {
            "$ref": "#/components/schemas/routes.hosted.WaFinish.input"
          },
          {
            "type": "object",
            "properties": {
              "credential": {
                "$ref": "#/components/schemas/services.assurance.WebauthnAssertionCredential.input"
              }
            },
            "required": [
              "credential"
            ]
          }
        ]
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ok": {
              "type": "boolean"
            },
            "step_up": {
              "type": "string",
              "format": "uuid"
            }
          },
          "required": [
            "ok"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/WebauthnError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::wa_assert_finish · src/routes/hosted.rs:1722

POST/hosted/webauthn/assert/startWa assert start

Mounted handler `hosted::wa_assert_start`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {},
        "required": []
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ceremony_id": {
              "type": "string",
              "format": "uuid"
            },
            "publicKey": {
              "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
            }
          },
          "required": [
            "ceremony_id",
            "publicKey"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/WebauthnError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::wa_assert_start · src/routes/hosted.rs:1689

POST/hosted/webauthn/login/finishWa login finish

Mounted handler `hosted::wa_login_finish`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.PasskeyLoginFinish.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ok": {
              "const": true
            },
            "continue_to": {
              "const": "/hosted/security"
            }
          },
          "required": [
            "ok",
            "continue_to"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/WebauthnError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::wa_login_finish · src/routes/hosted.rs:1483

POST/hosted/webauthn/login/startWa login start

Mounted handler `hosted::wa_login_start`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.PasskeyLoginStart.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ceremony_id": {
              "type": "string",
              "format": "uuid"
            },
            "publicKey": {
              "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
            },
            "mediation": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "ceremony_id",
            "publicKey",
            "mediation"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/WebauthnError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::wa_login_start · src/routes/hosted.rs:1449

POST/hosted/webauthn/register/finishWa register finish

Mounted handler `hosted::wa_register_finish`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "allOf": [
          {
            "$ref": "#/components/schemas/routes.hosted.WaFinish.input"
          },
          {
            "type": "object",
            "properties": {
              "credential": {
                "$ref": "#/components/schemas/services.assurance.WebauthnRegistrationCredential.input"
              }
            },
            "required": [
              "credential"
            ]
          }
        ]
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ok": {
              "type": "boolean"
            },
            "step_up": {
              "type": "string",
              "format": "uuid"
            }
          },
          "required": [
            "ok"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/WebauthnError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::wa_register_finish · src/routes/hosted.rs:1644

POST/hosted/webauthn/register/startWa register start

Mounted handler `hosted::wa_register_start`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.hosted.WaStartForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ceremony_id": {
              "type": "string",
              "format": "uuid"
            },
            "publicKey": {
              "$ref": "#/components/schemas/services.assurance.WebauthnCreationOptions.output"
            }
          },
          "required": [
            "ceremony_id",
            "publicKey"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/WebauthnError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::wa_register_start · src/routes/hosted.rs:1585

POST/mcp/managementManagement transport

Mounted handler `mcp::management_transport`. Live permissions, account/directory ownership and factor policy are enforced by the service. Stateless official rmcp StreamableHTTP; runtime tool catalog supplies exact inputs/outputs. Requires exact dedicated management resource audience and consent. 120 requests/minute per owner; fail-closed rate limiter. Agent key creation capped at100/day per account+owner; idempotent retries reuse the receipt.

Authentication: managementOAuth

[
  {
    "in": "header",
    "name": "MCP-Protocol-Version",
    "required": false,
    "schema": {
      "type": "string"
    },
    "description": "Negotiated MCP profile. Official2025 clients use initialize + this header; modern2026 stateless requests additionally carry required protocol metadata in the JSON-RPC message."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "jsonrpc": {
            "const": "2.0"
          },
          "id": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "method": {
            "type": "string"
          },
          "params": {
            "description": "Application-defined JSON value; intentionally unconstrained extension data.",
            "x-json-value": true
          }
        },
        "required": [
          "jsonrpc",
          "method"
        ]
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "jsonrpc": {
                  "const": "2.0"
                },
                "id": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "result": {
                  "description": "Application-defined JSON value; intentionally unconstrained extension data.",
                  "x-json-value": true
                }
              },
              "required": [
                "jsonrpc",
                "id",
                "result"
              ]
            },
            {
              "type": "object",
              "properties": {
                "jsonrpc": {
                  "const": "2.0"
                },
                "id": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "error": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    },
                    "data": {
                      "description": "Application-defined JSON value; intentionally unconstrained extension data.",
                      "x-json-value": true
                    }
                  },
                  "required": [
                    "code",
                    "message"
                  ]
                }
              },
              "required": [
                "jsonrpc",
                "id",
                "error"
              ]
            }
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: mcp::management_transport · src/routes/mcp.rs:265

GET/mcp/managementManagement transport

Mounted handler `mcp::management_transport`. Live permissions, account/directory ownership and factor policy are enforced by the service. Stateless official rmcp StreamableHTTP; runtime tool catalog supplies exact inputs/outputs. Requires exact dedicated management resource audience and consent. 120 requests/minute per owner; fail-closed rate limiter. Agent key creation capped at100/day per account+owner; idempotent retries reuse the receipt.

Authentication: managementOAuth

[
  {
    "in": "header",
    "name": "MCP-Protocol-Version",
    "required": false,
    "schema": {
      "type": "string"
    },
    "description": "Negotiated MCP profile. Official2025 clients use initialize + this header; modern2026 stateless requests additionally carry required protocol metadata in the JSON-RPC message."
  }
]
{
  "405": {
    "description": "Stateless transport does not maintain GET SSE sessions or DELETE sessions."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: mcp::management_transport · src/routes/mcp.rs:265

DELETE/mcp/managementManagement transport

Mounted handler `mcp::management_transport`. Live permissions, account/directory ownership and factor policy are enforced by the service. Stateless official rmcp StreamableHTTP; runtime tool catalog supplies exact inputs/outputs. Requires exact dedicated management resource audience and consent. 120 requests/minute per owner; fail-closed rate limiter. Agent key creation capped at100/day per account+owner; idempotent retries reuse the receipt.

Authentication: managementOAuth

[
  {
    "in": "header",
    "name": "MCP-Protocol-Version",
    "required": false,
    "schema": {
      "type": "string"
    },
    "description": "Negotiated MCP profile. Official2025 clients use initialize + this header; modern2026 stateless requests additionally carry required protocol metadata in the JSON-RPC message."
  }
]
{
  "405": {
    "description": "Stateless transport does not maintain GET SSE sessions or DELETE sessions."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: mcp::management_transport · src/routes/mcp.rs:265

GET/oauth/assets/authorize.cssAuthorize css

Mounted handler `oauth_authorize::authorize_css`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/css": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::authorize_css · src/routes/oauth_authorize/mod.rs:1195

GET/oauth/assets/authorize_link.jsAuthorize link js

Mounted handler `oauth_authorize::authorize_link_js`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/javascript": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::authorize_link_js · src/routes/oauth_authorize/mod.rs:1221

GET/oauth/assets/authorize_mfa.jsAuthorize mfa js

Mounted handler `oauth_authorize::authorize_mfa_js`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/javascript": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::authorize_mfa_js · src/routes/oauth_authorize/mod.rs:1212

GET/oauth/assets/authorize_otp.jsAuthorize otp js

Mounted handler `oauth_authorize::authorize_otp_js`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/javascript": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::authorize_otp_js · src/routes/oauth_authorize/mod.rs:1204

GET/oauth/assets/hosted.jsHosted js

Mounted handler `hosted::hosted_js`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/javascript": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hosted::hosted_js · src/routes/hosted.rs:1854

GET/oauth/assets/mcp_console.cssMcp console css

Mounted handler `oauth_authorize::mcp_console_css`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/css": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::mcp_console_css · src/routes/oauth_authorize/mod.rs:1230

GET/oauth/assets/mcp_console.jsMcp console js

Mounted handler `oauth_authorize::mcp_console_js`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/javascript": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::mcp_console_js · src/routes/oauth_authorize/mod.rs:1238

GET/oauth/authorizeAuthorize get

Mounted handler `oauth_authorize::authorize_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

[
  {
    "in": "query",
    "name": "response_type",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "redirect_uri",
    "required": true,
    "schema": {
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "scope",
    "required": false,
    "schema": {
      "type": "string",
      "default": ""
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "state",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "nonce",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "code_challenge",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "code_challenge_method",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "prompt",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `prompt`: space-delimited. `none` and `login` are acted on for every\nclient; `consent` and `select_account` for clients with strict handling (INC-57), which\nalso refuses any other value. Without it they are logged and ignored.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "max_age",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `max_age` in seconds: an older session must\nre-authenticate. Parsed in [`max_age_seconds`].",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "acr_values",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `acr_values`: space-delimited, in order of preference. The\nauthentication this request ends with must be one of them, or the request\nfails with `unmet_authentication_requirements` (WP-11 R-11.5).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "organization",
    "required": false,
    "schema": {
      "description": "The organization (id or slug) the sign-in is for. A member of it gets `org_id` and\n`org_roles` in the tokens; anyone else is refused with `access_denied` (WP-16a\nR-16.2). Absent means no organization claims.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "login_hint",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `login_hint`: prefills the email field when it is an address.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "ui_locales",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `ui_locales`: the hosted pages take the first language they have\n(English only so far); never an error.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "id_token_hint",
    "required": false,
    "schema": {
      "description": "OIDC Core 3.1.2.1 `id_token_hint`: an ID token of this issuer (it may have expired)\nnaming the only person this request may be answered for.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "claims",
    "required": false,
    "schema": {
      "description": "OIDC Core 5.5 `claims`: a specific `sub` and an essential `acr` are required of the\nauthentication; claims are released by the granted scopes alone.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "request",
    "required": false,
    "schema": {
      "description": "OIDC Core 6 request object / 6.2 request URI: not supported, answered with\n`request_not_supported` / `request_uri_not_supported` (R-11.8).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "request_uri",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "dpop_jkt",
    "required": false,
    "schema": {
      "description": "RFC 9449 section 10: the thumbprint of the DPoP key the code is requested for. The code\nis then exchanged only with a proof from that key.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "authorization_details",
    "required": false,
    "schema": {
      "description": "RFC 9396 `authorization_details` (INC-74): a JSON array, checked against the types the\nclient may ask for and shown on the consent page. Ignored unless enabled.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "resource",
    "required": false,
    "schema": {
      "description": "RFC 8707 resource indicator(s). Accepts a single `resource=` string\n(Cursor / MCP clients) or repeated query parameters.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "identifier_kind",
    "required": false,
    "schema": {
      "description": "Which identifier tab the page renders first (\"phone\" or \"email\"). The\ntab links carry it as a query parameter, so the switch works without\nJavaScript; it is not an OAuth parameter and is round-tripped only.",
      "type": "string",
      "default": "phone"
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::authorize_get · src/routes/oauth_authorize/mod.rs:446

POST/oauth/authorizeAuthorize post

Mounted handler `oauth_authorize::authorize_post`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth_authorize.AuthorizeForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::authorize_post · src/routes/oauth_authorize/mod.rs:942

POST/oauth/authorize/mfa/passkeyMfa passkey

Mounted handler `oauth_authorize::mfa_passkey`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth_authorize.mfa.MfaPasskeyRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "publicKey": {
                  "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
                },
                "mediation": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "publicKey",
                "mediation"
              ]
            },
            {
              "type": "object",
              "properties": {
                "ok": {
                  "const": true
                }
              },
              "required": [
                "ok"
              ]
            }
          ]
        }
      }
    },
    "headers": {
      "Cache-Control": {
        "schema": {
          "const": "no-store"
        }
      }
    }
  },
  "401": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "publicKey": {
                  "$ref": "#/components/schemas/services.assurance.WebauthnRequestOptions.output"
                },
                "mediation": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "publicKey",
                "mediation"
              ]
            },
            {
              "type": "object",
              "properties": {
                "ok": {
                  "const": true
                }
              },
              "required": [
                "ok"
              ]
            }
          ]
        }
      }
    },
    "headers": {
      "Cache-Control": {
        "schema": {
          "const": "no-store"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::mfa_passkey · src/routes/oauth_authorize/mod.rs:851

GET/oauth/deviceDevice verify get

Mounted handler `device::device_verify_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

[
  {
    "in": "query",
    "name": "user_code",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: device::device_verify_get · src/routes/device.rs:318

POST/oauth/deviceDevice verify post

Mounted handler `device::device_verify_post`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.device.DeviceDecisionForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: device::device_verify_post · src/routes/device.rs:450

POST/oauth/device/codeDevice code endpoint

Mounted handler `device::device_code_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: clientBasic or Registered body authentication / policy-dependent public flow

Registered client_secret_basic header or client_secret_post form body; none only for explicitly allowed public-client grants. Empty security alternative represents form authentication, not unauthenticated access.

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.device.DeviceCodeForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "device_code": {
              "type": "string"
            },
            "user_code": {
              "type": "string"
            },
            "verification_uri": {
              "type": "string",
              "format": "uri"
            },
            "verification_uri_complete": {
              "type": "string",
              "format": "uri"
            },
            "expires_in": {
              "type": "integer"
            },
            "interval": {
              "type": "integer"
            }
          },
          "required": [
            "device_code",
            "user_code",
            "verification_uri",
            "verification_uri_complete",
            "expires_in",
            "interval"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: device::device_code_endpoint · src/routes/device.rs:87

GET/oauth/end_sessionEnd session get

Mounted handler `oauth_authorize::end_session_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "id_token_hint",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "post_logout_redirect_uri",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "state",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::end_session_get · src/routes/oauth_authorize/mod.rs:1149

POST/oauth/end_sessionEnd session post

Mounted handler `oauth_authorize::end_session_post`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": false,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth_authorize.EndSessionQuery.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::end_session_post · src/routes/oauth_authorize/mod.rs:1159

POST/oauth/introspectIntrospect endpoint

Mounted handler `oauth::introspect_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: clientBasic or Registered body authentication / policy-dependent public flow

Registered client_secret_basic header or client_secret_post form body; none only for explicitly allowed public-client grants. Empty security alternative represents form authentication, not unauthenticated access.

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth.IntrospectionForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "active": {
              "type": "boolean"
            },
            "scope": {
              "type": "string"
            },
            "client_id": {
              "type": "string"
            },
            "username": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "token_type": {
              "type": "string"
            },
            "exp": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "iat": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "nbf": {
              "type": "integer"
            },
            "sub": {
              "type": "string"
            },
            "aud": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            },
            "iss": {
              "type": "string"
            },
            "jti": {
              "type": "string"
            },
            "permissions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "scopes": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "is_system_admin": {
              "type": "boolean"
            },
            "permission_revision": {
              "type": "string"
            },
            "session_id": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            },
            "central_user_id": {
              "type": "string",
              "format": "uuid"
            },
            "auth_user_id": {
              "type": "string",
              "format": "uuid"
            },
            "token_version": {
              "type": "integer"
            },
            "permissions_version": {
              "type": "integer"
            },
            "identity_class": {
              "type": "string"
            },
            "app": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "active"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth::introspect_endpoint · src/routes/oauth.rs:2791

GET/oauth/jwksJwks

Mounted handler `discovery::jwks`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "keys": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "kty": {
                    "const": "RSA"
                  },
                  "n": {
                    "type": "string"
                  },
                  "e": {
                    "type": "string"
                  },
                  "alg": {
                    "const": "RS256"
                  },
                  "use": {
                    "const": "sig"
                  },
                  "kid": {
                    "type": "string"
                  }
                },
                "required": [
                  "kty",
                  "n",
                  "e",
                  "alg",
                  "use",
                  "kid"
                ]
              }
            }
          },
          "required": [
            "keys"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: discovery::jwks · src/routes/discovery.rs:170

GET/oauth/mcpMcp console

Mounted handler `oauth_authorize::mcp_console`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "302": {
    "description": "Shell retirement (AUTH_SERVICE_SHELL_REDIRECT_ENABLED, off by default): a browser navigation is sent to the operator-configured AUTH_SERVICE_MCP_SHELL_REDIRECT_URL.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth_authorize::mcp_console · src/routes/oauth_authorize/mod.rs:1169

POST/oauth/parPar endpoint

Mounted handler `par::par_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: clientBasic or Registered body authentication / policy-dependent public flow

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth_authorize.AuthorizeQuery.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.par.PushedRequestResponse.output"
        }
      }
    },
    "headers": {
      "Cache-Control": {
        "schema": {
          "const": "no-store"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: par::par_endpoint · src/routes/par.rs:54

POST/oauth/registerRegister client

Mounted handler `oauth::register_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth.RegistrationRequest.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.oauth.RegistrationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth::register_client · src/routes/oauth.rs:3680

DELETE/oauth/register/{client_id}Delete client

Mounted handler `client_management::delete_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: client_management::delete_client · src/routes/client_management.rs:385

GET/oauth/register/{client_id}Read client

Mounted handler `client_management::read_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.oauth.RegistrationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: client_management::read_client · src/routes/client_management.rs:182

PUT/oauth/register/{client_id}Update client

Mounted handler `client_management::update_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.client_management.ClientUpdateRequest.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.oauth.RegistrationResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: client_management::update_client · src/routes/client_management.rs:199

POST/oauth/revokeRevoke endpoint

Mounted handler `oauth::revoke_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: clientBasic or Registered body authentication / policy-dependent public flow

Registered client_secret_basic header or client_secret_post form body; none only for explicitly allowed public-client grants. Empty security alternative represents form authentication, not unauthenticated access.

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth.RevocationForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth::revoke_endpoint · src/routes/oauth.rs:3115

POST/oauth/tokenToken endpoint

Mounted handler `oauth::token_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: clientBasic or Registered body authentication / policy-dependent public flow

Registered client_secret_basic header or client_secret_post form body; none only for explicitly allowed public-client grants. Empty security alternative represents form authentication, not unauthenticated access.

{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.oauth.TokenForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.token_store.TokenResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth::token_endpoint · src/routes/oauth.rs:1309

GET/oauth/userinfoUserinfo endpoint

Mounted handler `oauth::userinfo_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.oauth.UserInfoResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth::userinfo_endpoint · src/routes/oauth.rs:3286

POST/oauth/userinfoUserinfo endpoint

Mounted handler `oauth::userinfo_endpoint`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.oauth.UserInfoResponse.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: oauth::userinfo_endpoint · src/routes/oauth.rs:3286

GET/saml/idp/{directory_id}/init/{sp_id}Init

Mounted handler `saml_idp_sso::init`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_sso::init · src/routes/saml_idp_sso.rs:498

POST/saml/idp/{directory_id}/init/{sp_id}Init

Mounted handler `saml_idp_sso::init`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_sso::init · src/routes/saml_idp_sso.rs:498

GET/saml/idp/{directory_id}/metadataMetadata

Mounted handler `saml_idp::metadata`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "download",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/samlmetadata+xml": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp::metadata · src/routes/saml_idp.rs:46

GET/saml/idp/{directory_id}/sloSlo get

Mounted handler `saml_idp_slo::slo_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "SAMLRequest",
    "required": false,
    "schema": {
      "description": "A `LogoutRequest`, DEFLATE-compressed and base64-encoded.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "SAMLResponse",
    "required": false,
    "schema": {
      "description": "A `LogoutResponse`, DEFLATE-compressed and base64-encoded.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "RelayState",
    "required": false,
    "schema": {
      "description": "Echoed on the answer to a request.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "SigAlg",
    "required": false,
    "schema": {
      "description": "The signature algorithm.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "Signature",
    "required": false,
    "schema": {
      "description": "The signature, required.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_slo::slo_get · src/routes/saml_idp_slo.rs:276

POST/saml/idp/{directory_id}/sloSlo post

Mounted handler `saml_idp_slo::slo_post`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.saml_idp_slo.SloForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_slo::slo_post · src/routes/saml_idp_slo.rs:293

GET/saml/idp/{directory_id}/slo/nextSlo next

Mounted handler `saml_idp_slo::slo_next`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "state",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "go",
    "required": false,
    "schema": {
      "description": "Send the logout request to this provider.",
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "skip",
    "required": false,
    "schema": {
      "description": "Leave this provider signed in and go on.",
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_slo::slo_next · src/routes/saml_idp_slo.rs:466

GET/saml/idp/{directory_id}/ssoSso get

Mounted handler `saml_idp_sso::sso_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "SAMLRequest",
    "required": true,
    "schema": {
      "description": "The service provider's `AuthnRequest`, DEFLATE-compressed and base64-encoded.",
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "RelayState",
    "required": false,
    "schema": {
      "description": "Echoed to the registered assertion consumer service.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "SigAlg",
    "required": false,
    "schema": {
      "description": "The signature algorithm of a signed request.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "Signature",
    "required": false,
    "schema": {
      "description": "The signature of a signed request.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_sso::sso_get · src/routes/saml_idp_sso.rs:296

POST/saml/idp/{directory_id}/ssoSso post

Mounted handler `saml_idp_sso::sso_post`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.saml_idp_sso.SsoForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_sso::sso_post · src/routes/saml_idp_sso.rs:311

GET/saml/idp/{directory_id}/sso/continueSso continue

Mounted handler `saml_idp_sso::sso_continue`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or bearerAuth or Registered body authentication / policy-dependent public flow

[
  {
    "in": "query",
    "name": "state",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_sso::sso_continue · src/routes/saml_idp_sso.rs:659

POST/saml/sp/{connection_id}/acsAcs

Mounted handler `saml_sp::acs`. Live permissions, account/directory ownership and factor policy are enforced by the service. A draft connection is accepted here only to finish a connection test login (INC-10): the answer is verified and mapped as in a real sign-in, and nothing is linked, provisioned, signed in, issued or announced (a SAML assertion is still recorded as used). A real sign-in begun on a connection that is no longer enabled is refused after its state is spent.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.saml_sp.AcsForm.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_sp::acs · src/routes/saml_sp.rs:162

GET/saml/sp/{connection_id}/metadataMetadata

Mounted handler `saml_sp::metadata`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "download",
    "required": false,
    "schema": {
      "description": "`1` asks for the document as a file download (`Content-Disposition: attachment`).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/samlmetadata+xml": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_sp::metadata · src/routes/saml_sp.rs:110

GET/saml/sp/{connection_id}/sloSlo get

Mounted handler `saml_sp::slo_get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "SAMLRequest",
    "required": false,
    "schema": {
      "description": "The identity provider's `LogoutRequest` (base64; DEFLATE-compressed on the Redirect binding).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "SAMLResponse",
    "required": false,
    "schema": {
      "description": "The identity provider's `LogoutResponse`.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "RelayState",
    "required": false,
    "schema": {
      "description": "The opaque handle (1 to 80 bytes): echoed back to the identity provider, or the one we sent.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "SigAlg",
    "required": false,
    "schema": {
      "description": "Redirect binding only: the signature algorithm URI.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "Signature",
    "required": false,
    "schema": {
      "description": "Redirect binding only: the signature over the query string.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_sp::slo_get · src/routes/saml_sp.rs:185

POST/saml/sp/{connection_id}/sloSlo post

Mounted handler `saml_sp::slo_post`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "$ref": "#/components/schemas/routes.saml_sp.SloParams.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_sp::slo_post · src/routes/saml_sp.rs:204

GET/scim/v2/{directory_id}/GroupsList groups

Mounted handler `scim::list_groups`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "query",
    "name": "filter",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "startIndex",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "count",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::list_groups · src/routes/scim.rs:592

POST/scim/v2/{directory_id}/GroupsCreate group

Mounted handler `scim::create_group`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/scim+json": {
      "schema": {
        "description": "Application-defined JSON value; intentionally unconstrained extension data.",
        "x-json-value": true
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::create_group · src/routes/scim.rs:647

DELETE/scim/v2/{directory_id}/Groups/{group_id}Delete group

Mounted handler `scim::delete_group`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::delete_group · src/routes/scim.rs:730

GET/scim/v2/{directory_id}/Groups/{group_id}Get group

Mounted handler `scim::get_group`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::get_group · src/routes/scim.rs:625

PATCH/scim/v2/{directory_id}/Groups/{group_id}Patch group

Mounted handler `scim::patch_group`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/scim+json": {
      "schema": {
        "description": "Application-defined JSON value; intentionally unconstrained extension data.",
        "x-json-value": true
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::patch_group · src/routes/scim.rs:701

PUT/scim/v2/{directory_id}/Groups/{group_id}Replace group

Mounted handler `scim::replace_group`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/scim+json": {
      "schema": {
        "description": "Application-defined JSON value; intentionally unconstrained extension data.",
        "x-json-value": true
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::replace_group · src/routes/scim.rs:672

GET/scim/v2/{directory_id}/ResourceTypesResource types

Mounted handler `scim::resource_types`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::resource_types · src/routes/scim.rs:308

GET/scim/v2/{directory_id}/SchemasSchemas

Mounted handler `scim::schemas`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::schemas · src/routes/scim.rs:334

GET/scim/v2/{directory_id}/ServiceProviderConfigService provider config

Mounted handler `scim::service_provider_config`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::service_provider_config · src/routes/scim.rs:279

GET/scim/v2/{directory_id}/UsersList users

Mounted handler `scim::list_users`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "query",
    "name": "filter",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "startIndex",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "count",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::list_users · src/routes/scim.rs:392

POST/scim/v2/{directory_id}/UsersCreate user

Mounted handler `scim::create_user`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/scim+json": {
      "schema": {
        "description": "Application-defined JSON value; intentionally unconstrained extension data.",
        "x-json-value": true
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::create_user · src/routes/scim.rs:447

DELETE/scim/v2/{directory_id}/Users/{user_id}Delete user

Mounted handler `scim::delete_user`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::delete_user · src/routes/scim.rs:538

GET/scim/v2/{directory_id}/Users/{user_id}Get user

Mounted handler `scim::get_user`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::get_user · src/routes/scim.rs:425

PATCH/scim/v2/{directory_id}/Users/{user_id}Patch user

Mounted handler `scim::patch_user`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/scim+json": {
      "schema": {
        "description": "Application-defined JSON value; intentionally unconstrained extension data.",
        "x-json-value": true
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::patch_user · src/routes/scim.rs:509

PUT/scim/v2/{directory_id}/Users/{user_id}Replace user

Mounted handler `scim::replace_user`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: scimToken

[
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/scim+json": {
      "schema": {
        "description": "Application-defined JSON value; intentionally unconstrained extension data.",
        "x-json-value": true
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/scim+json": {
        "schema": {
          "description": "Application-defined JSON value; intentionally unconstrained extension data.",
          "x-json-value": true
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim::replace_user · src/routes/scim.rs:480

GET/v1/catalogGet catalog

Mounted handler `saas::get_catalog`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "market",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "currency",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.billing.CatalogPrice.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_catalog · src/routes/saas.rs:140

DELETE/v1/claim-webhookDelete webhook

Mounted handler `claims::delete_webhook`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::delete_webhook · src/routes/claims.rs:655

GET/v1/claim-webhookGet webhook

Mounted handler `claims::get_webhook`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.WebhookView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::get_webhook · src/routes/claims.rs:616

PUT/v1/claim-webhookUpsert webhook

Mounted handler `claims::upsert_webhook`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.claims.WebhookInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.WebhookView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::upsert_webhook · src/routes/claims.rs:626

POST/v1/claim-webhook/rotateRotate webhook

Mounted handler `claims::rotate_webhook`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.WebhookView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::rotate_webhook · src/routes/claims.rs:671

GET/v1/console/accountsList accounts

Mounted handler `saas::list_accounts`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.accounts.Account.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_accounts · src/routes/saas.rs:233

POST/v1/console/accountsCreate account

Mounted handler `saas::create_account`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.saas.accounts.CreateAccount.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.accounts.Account.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::create_account · src/routes/saas.rs:245

GET/v1/console/accounts/{account_id}/agentsList agents

Mounted handler `agent::list_agents`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.agent.AgentOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::list_agents · src/routes/agent.rs:319

POST/v1/console/accounts/{account_id}/agentsCreate agent

Mounted handler `agent::create_agent`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.agent.CreateAgentBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agent.AgentOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::create_agent · src/routes/agent.rs:256

GET/v1/console/accounts/{account_id}/agents/{agent_id}Get agent

Mounted handler `agent::get_agent`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "agent_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agent.AgentOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::get_agent · src/routes/agent.rs:331

POST/v1/console/accounts/{account_id}/agents/{agent_id}/broker-grantsIssue broker grant

Mounted handler `agent::issue_broker_grant`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "agent_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.agent.BrokerGrantBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.agent.broker.BrokerGrant.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::issue_broker_grant · src/routes/agent.rs:637

GET/v1/console/accounts/{account_id}/agents/{agent_id}/credentialsList credentials

Mounted handler `agent::list_credentials`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "agent_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.agent.CredentialOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::list_credentials · src/routes/agent.rs:568

POST/v1/console/accounts/{account_id}/agents/{agent_id}/credentialsEnroll credential

Mounted handler `agent::enroll_credential`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "agent_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.agent.EnrollCredentialBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agent.CredentialOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::enroll_credential · src/routes/agent.rs:456

POST/v1/console/accounts/{account_id}/agents/{agent_id}/credentials/{credential_id}/revokeRevoke credential

Mounted handler `agent::revoke_credential`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "agent_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "credential_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agent.CredentialOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::revoke_credential · src/routes/agent.rs:580

POST/v1/console/accounts/{account_id}/agents/{agent_id}/resumeResume agent

Mounted handler `agent::resume_agent`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "agent_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agent.AgentOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::resume_agent · src/routes/agent.rs:391

POST/v1/console/accounts/{account_id}/agents/{agent_id}/revokeRevoke agent

Mounted handler `agent::revoke_agent`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "agent_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agent.AgentOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::revoke_agent · src/routes/agent.rs:414

POST/v1/console/accounts/{account_id}/agents/{agent_id}/runtimeRecord runtime

Mounted handler `agent::record_runtime`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "agent_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "description": "Application-defined JSON value; intentionally unconstrained extension data.",
        "x-json-value": true
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agent.AgentOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::record_runtime · src/routes/agent.rs:344

POST/v1/console/accounts/{account_id}/agents/{agent_id}/suspendSuspend agent

Mounted handler `agent::suspend_agent`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "agent_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agent.AgentOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agent::suspend_agent · src/routes/agent.rs:368

GET/v1/console/accounts/{account_id}/applicationsList applications

Mounted handler `saas::list_applications`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.applications.Application.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_applications · src/routes/saas.rs:325

POST/v1/console/accounts/{account_id}/applicationsCreate application

Mounted handler `saas::create_application`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.saas.applications.CreateApplication.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.applications.Application.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::create_application · src/routes/saas.rs:339

PUT/v1/console/accounts/{account_id}/applications/{application_id}Update application

Mounted handler `saas::update_application`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.saas.applications.UpdateApplication.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.applications.Application.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::update_application · src/routes/saas.rs:366

DELETE/v1/console/accounts/{account_id}/applications/{application_id}/claim-webhookConsole delete webhook

Mounted handler `claims::console_delete_webhook`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_delete_webhook · src/routes/claims.rs:422

GET/v1/console/accounts/{account_id}/applications/{application_id}/claim-webhookConsole get webhook

Mounted handler `claims::console_get_webhook`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.WebhookView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_get_webhook · src/routes/claims.rs:363

PUT/v1/console/accounts/{account_id}/applications/{application_id}/claim-webhookConsole upsert webhook

Mounted handler `claims::console_upsert_webhook`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.claims.WebhookInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.WebhookView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_upsert_webhook · src/routes/claims.rs:380

POST/v1/console/accounts/{account_id}/applications/{application_id}/claim-webhook/rotateConsole rotate webhook

Mounted handler `claims::console_rotate_webhook`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.WebhookView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_rotate_webhook · src/routes/claims.rs:451

GET/v1/console/accounts/{account_id}/applications/{application_id}/clientsList public clients

Mounted handler `saas::list_public_clients`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.applications.PublicClient.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_public_clients · src/routes/saas.rs:394

POST/v1/console/accounts/{account_id}/applications/{application_id}/clientsCreate public client

Mounted handler `saas::create_public_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.saas.applications.CreatePublicClient.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.applications.PublicClient.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::create_public_client · src/routes/saas.rs:412

GET/v1/console/accounts/{account_id}/applications/{application_id}/clients/allList clients

Mounted handler `saas::list_clients`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.applications.PublicClient.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_clients · src/routes/saas.rs:471

POST/v1/console/accounts/{account_id}/applications/{application_id}/clients/confidentialCreate confidential client

Mounted handler `saas::create_confidential_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.saas.applications.CreateConfidentialClient.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.applications.ConfidentialClientCreated.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::create_confidential_client · src/routes/saas.rs:442

DELETE/v1/console/accounts/{account_id}/applications/{application_id}/clients/{client_id}/previous-secretRevoke previous client secret

Mounted handler `saas::revoke_previous_client_secret`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::revoke_previous_client_secret · src/routes/saas.rs:620

POST/v1/console/accounts/{account_id}/applications/{application_id}/clients/{client_id}/revokeRevoke client

Mounted handler `saas::revoke_client`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.applications.PublicClient.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::revoke_client · src/routes/saas.rs:643

POST/v1/console/accounts/{account_id}/applications/{application_id}/clients/{client_id}/rotate-secretRotate client secret

Mounted handler `saas::rotate_client_secret`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "overlap_seconds",
    "required": false,
    "schema": {
      "type": "integer",
      "format": "uint32",
      "minimum": 0,
      "default": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.applications.ConfidentialClientCreated.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::rotate_client_secret · src/routes/saas.rs:544

GET/v1/console/accounts/{account_id}/applications/{application_id}/clients/{client_id}/settingsGet client settings

Mounted handler `saas::get_client_settings`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.client_settings.ConsoleClientSettings.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_client_settings · src/routes/saas.rs:575

PUT/v1/console/accounts/{account_id}/applications/{application_id}/clients/{client_id}/settingsPut client settings

Mounted handler `saas::put_client_settings`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "client_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.client_settings.ConsoleClientSettings.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.client_settings.ConsoleClientSettings.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::put_client_settings · src/routes/saas.rs:594

POST/v1/console/accounts/{account_id}/applications/{application_id}/clients:revokeRevoke client by body

Mounted handler `saas::revoke_client_by_body`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saas.OpaqueClientInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.applications.PublicClient.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::revoke_client_by_body · src/routes/saas.rs:528

POST/v1/console/accounts/{account_id}/applications/{application_id}/clients:rotate-secretRotate client secret by body

Mounted handler `saas::rotate_client_secret_by_body`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh session/directory/action-bound receipt required by customer factor policy."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saas.RotateClientSecretInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.applications.ConfidentialClientCreated.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::rotate_client_secret_by_body · src/routes/saas.rs:510

GET/v1/console/accounts/{account_id}/applications/{application_id}/keysConsole list keys

Mounted handler `api_keys::console_list_keys`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.api_keys.KeyMetadata.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: api_keys::console_list_keys · src/routes/api_keys.rs:91

POST/v1/console/accounts/{account_id}/applications/{application_id}/keysConsole create key

Mounted handler `api_keys::console_create_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.api_keys.CreateKeyInput.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.api_keys.IssuedKeyView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: api_keys::console_create_key · src/routes/api_keys.rs:110

DELETE/v1/console/accounts/{account_id}/applications/{application_id}/keys/{key_id}Console revoke key

Mounted handler `api_keys::console_revoke_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "key_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: api_keys::console_revoke_key · src/routes/api_keys.rs:163

POST/v1/console/accounts/{account_id}/applications/{application_id}/keys/{key_id}/rotateConsole rotate key

Mounted handler `api_keys::console_rotate_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "key_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.api_keys.IssuedKeyView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: api_keys::console_rotate_key · src/routes/api_keys.rs:137

GET/v1/console/accounts/{account_id}/applications/{application_id}/rolesConsole list roles

Mounted handler `claims::console_list_roles`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.claims.RoleView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_list_roles · src/routes/claims.rs:164

POST/v1/console/accounts/{account_id}/applications/{application_id}/rolesConsole create role

Mounted handler `claims::console_create_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.claims.RoleInput.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.RoleView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_create_role · src/routes/claims.rs:181

DELETE/v1/console/accounts/{account_id}/applications/{application_id}/roles/{role_id}Console delete role

Mounted handler `claims::console_delete_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_delete_role · src/routes/claims.rs:246

PATCH/v1/console/accounts/{account_id}/applications/{application_id}/roles/{role_id}Console update role

Mounted handler `claims::console_update_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.claims.RoleInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.RoleView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_update_role · src/routes/claims.rs:213

GET/v1/console/accounts/{account_id}/applications/{application_id}/roles/{role_id}/assignmentsConsole list assignments

Mounted handler `claims::console_list_assignments`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.claims.AssignmentView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_list_assignments · src/routes/claims.rs:276

POST/v1/console/accounts/{account_id}/applications/{application_id}/roles/{role_id}/assignmentsConsole create assignment

Mounted handler `claims::console_create_assignment`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.claims.AssignmentInput.input"
      }
    }
  }
}
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_create_assignment · src/routes/claims.rs:300

DELETE/v1/console/accounts/{account_id}/applications/{application_id}/roles/{role_id}/assignments/{auth_user_id}Console delete assignment

Mounted handler `claims::console_delete_assignment`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "auth_user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::console_delete_assignment · src/routes/claims.rs:332

POST/v1/console/accounts/{account_id}/checkoutCreate checkout

Mounted handler `saas::create_checkout`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  },
  {
    "in": "header",
    "name": "Idempotency-Key",
    "required": true,
    "schema": {
      "type": "string"
    }
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saas.CheckoutInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.payments.CheckoutResult.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::create_checkout · src/routes/saas.rs:870

GET/v1/console/accounts/{account_id}/delegationsList delegations

Mounted handler `delegation::list_delegations`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "delegatorPrincipalId",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "delegatePrincipalId",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.delegation.GrantOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: delegation::list_delegations · src/routes/delegation.rs:220

POST/v1/console/accounts/{account_id}/delegationsCreate delegation

Mounted handler `delegation::create_delegation`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.delegation.CreateGrantBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.delegation.GrantOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: delegation::create_delegation · src/routes/delegation.rs:184

POST/v1/console/accounts/{account_id}/delegations/{grant_id}/revokeRevoke delegation

Mounted handler `delegation::revoke_delegation`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "grant_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.delegation.GrantOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: delegation::revoke_delegation · src/routes/delegation.rs:252

GET/v1/console/accounts/{account_id}/directories/{directory_id}/applications/{application_id}/agreementsGet

Mounted handler `agreements_admin::get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agreements_admin.AgreementsView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agreements_admin::get · src/routes/agreements_admin.rs:153

PUT/v1/console/accounts/{account_id}/directories/{directory_id}/applications/{application_id}/agreementsPut

Mounted handler `agreements_admin::put`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.agreements.Settings.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agreements_admin.AgreementsView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agreements_admin::put · src/routes/agreements_admin.rs:169

POST/v1/console/accounts/{account_id}/directories/{directory_id}/applications/{application_id}/agreements/versionsRegister

Mounted handler `agreements_admin::register`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "application_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.agreements.NewVersion.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.agreements.PolicyVersion.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agreements_admin::register · src/routes/agreements_admin.rs:211

GET/v1/console/accounts/{account_id}/directories/{directory_id}/audit-chain/verifyVerify

Mounted handler `audit_events::verify`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.audit_chain.ChainReport.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: audit_events::verify · src/routes/audit_events.rs:123

GET/v1/console/accounts/{account_id}/directories/{directory_id}/audit-eventsList

Mounted handler `audit_events::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "after",
    "required": false,
    "schema": {
      "description": "Return entries after this cursor.",
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "event_type",
    "required": false,
    "schema": {
      "description": "Only this event type (for example `scim.token.create`).",
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "from",
    "required": false,
    "schema": {
      "description": "Entries at or after this time (RFC 3339).",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "to",
    "required": false,
    "schema": {
      "description": "Entries before this time (RFC 3339).",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "description": "At most this many (1 to 200, default 50).",
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.audit_chain.AuditEventView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: audit_events::list · src/routes/audit_events.rs:60

GET/v1/console/accounts/{account_id}/directories/{directory_id}/audit-events/exportExport

Mounted handler `audit_events::export`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "after",
    "required": false,
    "schema": {
      "description": "Return entries after this cursor.",
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "event_type",
    "required": false,
    "schema": {
      "description": "Only this event type (for example `scim.token.create`).",
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "from",
    "required": false,
    "schema": {
      "description": "Entries at or after this time (RFC 3339).",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "to",
    "required": false,
    "schema": {
      "description": "Entries before this time (RFC 3339).",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "description": "At most this many (1 to 200, default 50).",
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/x-ndjson": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "X-Next-Cursor": {
        "schema": {
          "type": "integer"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: audit_events::export · src/routes/audit_events.rs:84

GET/v1/console/accounts/{account_id}/directories/{directory_id}/authentication-policiesList

Mounted handler `authentication_policies::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.authentication_policies.AuthenticationPolicyView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: authentication_policies::list · src/routes/authentication_policies.rs:213

POST/v1/console/accounts/{account_id}/directories/{directory_id}/authentication-policiesCreate

Mounted handler `authentication_policies::create`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.authentication_policies.CreateAuthenticationPolicyBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.authentication_policies.AuthenticationPolicyView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: authentication_policies::create · src/routes/authentication_policies.rs:233

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/authentication-policies/{policy_id}Remove

Mounted handler `authentication_policies::remove`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "policy_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: authentication_policies::remove · src/routes/authentication_policies.rs:331

GET/v1/console/accounts/{account_id}/directories/{directory_id}/authorization-detail-typesList

Mounted handler `authorization_detail_types::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.authorization_detail_types.AuthorizationDetailTypeView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: authorization_detail_types::list · src/routes/authorization_detail_types.rs:192

POST/v1/console/accounts/{account_id}/directories/{directory_id}/authorization-detail-typesCreate

Mounted handler `authorization_detail_types::create`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.authorization_detail_types.CreateAuthorizationDetailTypeBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.authorization_detail_types.AuthorizationDetailTypeView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: authorization_detail_types::create · src/routes/authorization_detail_types.rs:217

PATCH/v1/console/accounts/{account_id}/directories/{directory_id}/authorization-detail-types/{type_id}Update

Mounted handler `authorization_detail_types::update`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "type_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.authorization_detail_types.UpdateAuthorizationDetailTypeBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.authorization_detail_types.AuthorizationDetailTypeView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: authorization_detail_types::update · src/routes/authorization_detail_types.rs:311

GET/v1/console/accounts/{account_id}/directories/{directory_id}/connectionsList

Mounted handler `connections::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.connections.ConnectionView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::list · src/routes/connections.rs:521

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connectionsCreate

Mounted handler `connections::create`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.CreateConnectionBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.ConnectionView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::create · src/routes/connections.rs:738

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}Delete

Mounted handler `connections::delete`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::delete · src/routes/connections.rs:928

GET/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}Get

Mounted handler `connections::get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.ConnectionView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::get · src/routes/connections.rs:546

PATCH/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}Update

Mounted handler `connections::update`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.UpdateConnectionBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.ConnectionView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::update · src/routes/connections.rs:849

GET/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/domainsList domains

Mounted handler `connections::list_domains`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.federation.domains.DomainView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::list_domains · src/routes/connections.rs:1278

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/domainsAdd domain

Mounted handler `connections::add_domain`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.AddDomainBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.domains.DomainView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::add_domain · src/routes/connections.rs:1299

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/domains/{domain}Remove domain

Mounted handler `connections::remove_domain`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "domain",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::remove_domain · src/routes/connections.rs:1383

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/domains/{domain}/verifyVerify domain

Mounted handler `connections::verify_domain`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "domain",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.domains.DomainView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::verify_domain · src/routes/connections.rs:1335

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/mapping/previewPreview mapping

Mounted handler `connections::preview_mapping`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.MappingPreviewBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.MappingPreview.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::preview_mapping · src/routes/connections.rs:1080

GET/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/samlSaml status

Mounted handler `connections::saml_status`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.SamlConnectionView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::saml_status · src/routes/connections.rs:1432

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/saml/certificatesPin certificate

Mounted handler `connections::pin_certificate`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.PinCertificateBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.certificates.CertificateView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::pin_certificate · src/routes/connections.rs:1476

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/saml/certificates/{certificate_id}/statusSet certificate status

Mounted handler `connections::set_certificate_status`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "certificate_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.CertificateStatusBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.certificates.CertificateView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::set_certificate_status · src/routes/connections.rs:1525

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/saml/metadataImport metadata

Mounted handler `connections::import_metadata`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.SamlMetadataSource.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.MetadataImportResult.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::import_metadata · src/routes/connections.rs:1577

GET/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/saml/metadata/diffsList metadata diffs

Mounted handler `connections::list_metadata_diffs`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.connections.MetadataDiffView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::list_metadata_diffs · src/routes/connections.rs:1753

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/saml/metadata/diffs/{diff_id}/approveApprove metadata diff

Mounted handler `connections::approve_metadata_diff`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "diff_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.MetadataDiffView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::approve_metadata_diff · src/routes/connections.rs:1781

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/saml/metadata/diffs/{diff_id}/rejectReject metadata diff

Mounted handler `connections::reject_metadata_diff`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "diff_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.MetadataDiffView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::reject_metadata_diff · src/routes/connections.rs:1864

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/saml/metadata/refreshRefresh metadata

Mounted handler `connections::refresh_metadata`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.MetadataDiffView.output"
        }
      }
    }
  },
  "204": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.MetadataDiffView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::refresh_metadata · src/routes/connections.rs:1663

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/saml/sp-keys/promotePromote sp key

Mounted handler `connections::promote_sp_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.SpKeyBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.federation.certificates.CertificateView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::promote_sp_key · src/routes/connections.rs:1966

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/saml/sp-keys/rotateRotate sp key

Mounted handler `connections::rotate_sp_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.SpKeyBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.certificates.CertificateView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::rotate_sp_key · src/routes/connections.rs:1902

PUT/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/secretPut secret

Mounted handler `connections::put_secret`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.SetSecretBody.input"
      }
    }
  }
}
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::put_secret · src/routes/connections.rs:974

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/statusSet status

Mounted handler `connections::set_status`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.connections.SetConnectionStatusBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.ConnectionView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::set_status · src/routes/connections.rs:1023

POST/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/test-loginStart test login

Mounted handler `connections::start_test_login`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.TestLoginStarted.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::start_test_login · src/routes/connections.rs:1116

GET/v1/console/accounts/{account_id}/directories/{directory_id}/connections/{connection_id}/test-login/{test_id}Get test login

Mounted handler `connections::get_test_login`. Live permissions, account/directory ownership and factor policy are enforced by the service. Returns pending, or the decoded outcome of a connection test login to the user who started it, within ten minutes. The first read leaves the outcome readable for one more minute, so a retried GET still finds it, and then it is gone; every delivery is audited. Sent no-store.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "connection_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "test_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.connections.TestLoginView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: connections::get_test_login · src/routes/connections.rs:1224

GET/v1/console/accounts/{account_id}/directories/{directory_id}/event-subscriptionsList

Mounted handler `event_subscriptions::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.events.subscriptions.SubscriptionView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: event_subscriptions::list · src/routes/event_subscriptions.rs:146

POST/v1/console/accounts/{account_id}/directories/{directory_id}/event-subscriptionsCreate

Mounted handler `event_subscriptions::create`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.event_subscriptions.CreateSubscriptionBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.event_subscriptions.CreatedSubscription.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: event_subscriptions::create · src/routes/event_subscriptions.rs:160

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/event-subscriptions/{subscription_id}Remove

Mounted handler `event_subscriptions::remove`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "subscription_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: event_subscriptions::remove · src/routes/event_subscriptions.rs:277

PATCH/v1/console/accounts/{account_id}/directories/{directory_id}/event-subscriptions/{subscription_id}Set status

Mounted handler `event_subscriptions::set_status`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "subscription_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.event_subscriptions.SetStatusBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.events.subscriptions.SubscriptionView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: event_subscriptions::set_status · src/routes/event_subscriptions.rs:231

GET/v1/console/accounts/{account_id}/directories/{directory_id}/event-subscriptions/{subscription_id}/deliveriesDeliveries

Mounted handler `event_subscriptions::deliveries`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "status",
    "required": false,
    "schema": {
      "description": "`pending`, `delivered` or `dead`.",
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "subscription_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.events.delivery.DeliveryView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: event_subscriptions::deliveries · src/routes/event_subscriptions.rs:317

POST/v1/console/accounts/{account_id}/directories/{directory_id}/event-subscriptions/{subscription_id}/deliveries/{delivery_id}/replayReplay

Mounted handler `event_subscriptions::replay`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "subscription_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "delivery_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "202": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: event_subscriptions::replay · src/routes/event_subscriptions.rs:341

POST/v1/console/accounts/{account_id}/directories/{directory_id}/event-subscriptions/{subscription_id}/testTest send

Mounted handler `event_subscriptions::test_send`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "subscription_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "202": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.event_subscriptions.TestSent.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: event_subscriptions::test_send · src/routes/event_subscriptions.rs:372

GET/v1/console/accounts/{account_id}/directories/{directory_id}/event-typesEvent types

Mounted handler `event_subscriptions::event_types`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.events.catalog.EventTypeView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: event_subscriptions::event_types · src/routes/event_subscriptions.rs:135

GET/v1/console/accounts/{account_id}/directories/{directory_id}/groupsList groups

Mounted handler `groups::list_groups`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "after",
    "required": false,
    "schema": {
      "description": "Return items after this id.",
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "description": "At most this many (1 to 200, default 50).",
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.identity.group.Group.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::list_groups · src/routes/groups.rs:148

POST/v1/console/accounts/{account_id}/directories/{directory_id}/groupsCreate group

Mounted handler `groups::create_group`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.groups.CreateGroupBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.identity.group.Group.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::create_group · src/routes/groups.rs:191

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/groups/{group_id}Delete group

Mounted handler `groups::delete_group`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::delete_group · src/routes/groups.rs:243

GET/v1/console/accounts/{account_id}/directories/{directory_id}/groups/{group_id}Get group

Mounted handler `groups::get_group`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.identity.group.Group.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::get_group · src/routes/groups.rs:170

PATCH/v1/console/accounts/{account_id}/directories/{directory_id}/groups/{group_id}Rename group

Mounted handler `groups::rename_group`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.groups.RenameGroupBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.identity.group.Group.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::rename_group · src/routes/groups.rs:220

GET/v1/console/accounts/{account_id}/directories/{directory_id}/groups/{group_id}/membersList members

Mounted handler `groups::list_members`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "after",
    "required": false,
    "schema": {
      "description": "Return items after this id.",
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "description": "At most this many (1 to 200, default 50).",
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.groups.GroupMemberView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::list_members · src/routes/groups.rs:274

POST/v1/console/accounts/{account_id}/directories/{directory_id}/groups/{group_id}/membersAdd member

Mounted handler `groups::add_member`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.groups.AddMemberBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.groups.GroupMemberView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::add_member · src/routes/groups.rs:301

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/groups/{group_id}/members/{principal_id}Remove member

Mounted handler `groups::remove_member`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "principal_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::remove_member · src/routes/groups.rs:338

GET/v1/console/accounts/{account_id}/directories/{directory_id}/groups/{group_id}/rolesList roles

Mounted handler `groups::list_roles`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.identity.group.RoleMapping.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::list_roles · src/routes/groups.rs:369

POST/v1/console/accounts/{account_id}/directories/{directory_id}/groups/{group_id}/rolesMap role

Mounted handler `groups::map_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.groups.MapRoleBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.identity.group.RoleMapping.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::map_role · src/routes/groups.rs:390

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/groups/{group_id}/roles/{mapping_id}Unmap role

Mounted handler `groups::unmap_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "group_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "mapping_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: groups::unmap_role · src/routes/groups.rs:431

GET/v1/console/accounts/{account_id}/directories/{directory_id}/hooksList

Mounted handler `hooks::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.hooks.store.HookView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hooks::list · src/routes/hooks.rs:154

POST/v1/console/accounts/{account_id}/directories/{directory_id}/hooksCreate

Mounted handler `hooks::create`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.hooks.CreateHookBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.hooks.HookWithSecret.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hooks::create · src/routes/hooks.rs:174

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/hooks/{hook_id}Remove

Mounted handler `hooks::remove`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "hook_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hooks::remove · src/routes/hooks.rs:320

PATCH/v1/console/accounts/{account_id}/directories/{directory_id}/hooks/{hook_id}Update

Mounted handler `hooks::update`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "hook_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.hooks.UpdateHookBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.hooks.store.HookView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hooks::update · src/routes/hooks.rs:235

POST/v1/console/accounts/{account_id}/directories/{directory_id}/hooks/{hook_id}/rotate-secretRotate secret

Mounted handler `hooks::rotate_secret`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "hook_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.hooks.HookWithSecret.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: hooks::rotate_secret · src/routes/hooks.rs:287

GET/v1/console/accounts/{account_id}/directories/{directory_id}/network-zonesList zones

Mounted handler `authentication_policies::list_zones`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.authentication_policies.NetworkZoneView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: authentication_policies::list_zones · src/routes/authentication_policies.rs:414

POST/v1/console/accounts/{account_id}/directories/{directory_id}/network-zonesCreate zone

Mounted handler `authentication_policies::create_zone`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.authentication_policies.CreateNetworkZoneBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.authentication_policies.NetworkZoneView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: authentication_policies::create_zone · src/routes/authentication_policies.rs:434

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/network-zones/{zone_id}Remove zone

Mounted handler `authentication_policies::remove_zone`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "zone_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: authentication_policies::remove_zone · src/routes/authentication_policies.rs:493

GET/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idpGet settings

Mounted handler `saml_idp_admin::get_settings`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.saml_idp_admin.IdpSettingsView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::get_settings · src/routes/saml_idp_admin.rs:97

PATCH/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idpUpdate settings

Mounted handler `saml_idp_admin::update_settings`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saml_idp_admin.UpdateIdpSettingsBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.saml_idp_admin.IdpSettingsView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::update_settings · src/routes/saml_idp_admin.rs:212

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idpEnable

Mounted handler `saml_idp_admin::enable`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.saml_idp_admin.IdpSettingsView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::enable · src/routes/saml_idp_admin.rs:136

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/certificates/promotePromote certificate

Mounted handler `saml_idp_admin::promote_certificate`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.certificates.CertificateView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::promote_certificate · src/routes/saml_idp_admin.rs:1008

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/certificates/rotateRotate certificate

Mounted handler `saml_idp_admin::rotate_certificate`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.certificates.CertificateView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::rotate_certificate · src/routes/saml_idp_admin.rs:958

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/certificates/{certificate_id}/revokeRevoke certificate

Mounted handler `saml_idp_admin::revoke_certificate`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "certificate_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.certificates.CertificateView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::revoke_certificate · src/routes/saml_idp_admin.rs:1045

GET/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/metadataMetadata

Mounted handler `saml_idp_admin::metadata`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/samlmetadata+xml": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::metadata · src/routes/saml_idp_admin.rs:291

GET/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providersList service providers

Mounted handler `saml_idp_admin::list_service_providers`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saml_idp.sp.ServiceProvider.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::list_service_providers · src/routes/saml_idp_admin.rs:446

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providersCreate service provider

Mounted handler `saml_idp_admin::create_service_provider`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.saml_idp.sp_config.SpConfig.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saml_idp.sp.ServiceProvider.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::create_service_provider · src/routes/saml_idp_admin.rs:595

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}Delete service provider

Mounted handler `saml_idp_admin::delete_service_provider`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::delete_service_provider · src/routes/saml_idp_admin.rs:715

GET/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}Get service provider

Mounted handler `saml_idp_admin::get_service_provider`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saml_idp.sp.ServiceProvider.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::get_service_provider · src/routes/saml_idp_admin.rs:462

PATCH/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}Update service provider

Mounted handler `saml_idp_admin::update_service_provider`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.saml_idp.sp_config.SpConfig.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saml_idp.sp.ServiceProvider.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::update_service_provider · src/routes/saml_idp_admin.rs:663

GET/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}/assignmentsList assignments

Mounted handler `saml_idp_admin::list_assignments`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saml_idp.assignments.Assignment.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::list_assignments · src/routes/saml_idp_admin.rs:478

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}/assignmentsCreate assignment

Mounted handler `saml_idp_admin::create_assignment`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saml_idp_admin.CreateAssignmentBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saml_idp.assignments.Assignment.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::create_assignment · src/routes/saml_idp_admin.rs:504

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}/assignments/{assignment_id}Delete assignment

Mounted handler `saml_idp_admin::delete_assignment`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "assignment_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::delete_assignment · src/routes/saml_idp_admin.rs:549

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}/certificatesPin certificate

Mounted handler `saml_idp_admin::pin_certificate`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saml_idp_admin.PinCertificateBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.certificates.CertificateView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::pin_certificate · src/routes/saml_idp_admin.rs:824

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}/certificates/{certificate_id}/statusSet certificate status

Mounted handler `saml_idp_admin::set_certificate_status`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "certificate_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saml_idp_admin.SetCertificateStatusBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.federation.certificates.CertificateView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::set_certificate_status · src/routes/saml_idp_admin.rs:882

GET/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}/previewPreview service provider

Mounted handler `saml_idp_admin::preview_service_provider`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "principal_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saml_idp.preview.Preview.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::preview_service_provider · src/routes/saml_idp_admin.rs:343

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}/statusSet service provider status

Mounted handler `saml_idp_admin::set_service_provider_status`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saml_idp_admin.SetStatusBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saml_idp.sp.ServiceProvider.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::set_service_provider_status · src/routes/saml_idp_admin.rs:763

POST/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/service-providers/{sp_id}/test-launchTest launch service provider

Mounted handler `saml_idp_admin::test_launch_service_provider`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "sp_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.saml_idp_admin.TestLaunchView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::test_launch_service_provider · src/routes/saml_idp_admin.rs:389

GET/v1/console/accounts/{account_id}/directories/{directory_id}/saml-idp/templatesList templates

Mounted handler `saml_idp_admin::list_templates`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saml_idp.templates.Template.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saml_idp_admin::list_templates · src/routes/saml_idp_admin.rs:314

GET/v1/console/accounts/{account_id}/directories/{directory_id}/scim-request-logRequest log list

Mounted handler `scim_tokens::request_log_list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "token_id",
    "required": false,
    "schema": {
      "description": "Only this token's requests.",
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "status",
    "required": false,
    "schema": {
      "description": "Only this HTTP status.",
      "type": [
        "integer",
        "null"
      ],
      "format": "int16",
      "minimum": -32768,
      "maximum": 32767
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "before",
    "required": false,
    "schema": {
      "description": "Entries older than this cursor (the last `seq` of the previous page).",
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "description": "At most this many (1 to 200, default 50).",
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.scim.request_log.LogEntryView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim_tokens::request_log_list · src/routes/scim_tokens.rs:343

GET/v1/console/accounts/{account_id}/directories/{directory_id}/scim-tokensList

Mounted handler `scim_tokens::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.scim.token.TokenView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim_tokens::list · src/routes/scim_tokens.rs:114

POST/v1/console/accounts/{account_id}/directories/{directory_id}/scim-tokensCreate

Mounted handler `scim_tokens::create`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.scim_tokens.CreateScimTokenBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.scim_tokens.CreatedScimToken.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim_tokens::create · src/routes/scim_tokens.rs:135

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/scim-tokens/{token_id}Revoke

Mounted handler `scim_tokens::revoke`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "token_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim_tokens::revoke · src/routes/scim_tokens.rs:204

PATCH/v1/console/accounts/{account_id}/directories/{directory_id}/scim-tokens/{token_id}Update

Mounted handler `scim_tokens::update`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "token_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.scim_tokens.UpdateScimTokenBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.scim.token.TokenView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim_tokens::update · src/routes/scim_tokens.rs:253

POST/v1/console/accounts/{account_id}/directories/{directory_id}/scim-tokens/{token_id}/checkCheck

Mounted handler `scim_tokens::check`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "token_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.scim_tokens.ScimTokenCheck.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: scim_tokens::check · src/routes/scim_tokens.rs:301

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/session-policyClear

Mounted handler `session_policy::clear`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: session_policy::clear · src/routes/session_policy.rs:138

GET/v1/console/accounts/{account_id}/directories/{directory_id}/session-policyGet

Mounted handler `session_policy::get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/services.session_policy.SessionPolicy.output"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: session_policy::get · src/routes/session_policy.rs:58

PUT/v1/console/accounts/{account_id}/directories/{directory_id}/session-policyPut

Mounted handler `session_policy::put`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.session_policy.PutSessionPolicyBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.session_policy.SessionPolicy.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: session_policy::put · src/routes/session_policy.rs:79

GET/v1/console/accounts/{account_id}/directories/{directory_id}/trusted-issuersList

Mounted handler `trusted_issuers::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.trusted_issuers.TrustedIssuerView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: trusted_issuers::list · src/routes/trusted_issuers.rs:246

POST/v1/console/accounts/{account_id}/directories/{directory_id}/trusted-issuersCreate

Mounted handler `trusted_issuers::create`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.trusted_issuers.CreateTrustedIssuerBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.trusted_issuers.TrustedIssuerView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: trusted_issuers::create · src/routes/trusted_issuers.rs:271

DELETE/v1/console/accounts/{account_id}/directories/{directory_id}/trusted-issuers/{issuer_id}Remove

Mounted handler `trusted_issuers::remove`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "issuer_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: trusted_issuers::remove · src/routes/trusted_issuers.rs:416

PATCH/v1/console/accounts/{account_id}/directories/{directory_id}/trusted-issuers/{issuer_id}Update

Mounted handler `trusted_issuers::update`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "issuer_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.trusted_issuers.UpdateTrustedIssuerBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.trusted_issuers.TrustedIssuerView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: trusted_issuers::update · src/routes/trusted_issuers.rs:352

GET/v1/console/accounts/{account_id}/directories/{directory_id}/usersList

Mounted handler `directory_users::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "identifier_prefix",
    "required": false,
    "schema": {
      "description": "Only users with an address, phone number or SCIM user name that starts with this\n(case-insensitive; at most 254 characters).",
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "status",
    "required": false,
    "schema": {
      "description": "`active`, `deactivated` or `archived`. Without it: active and deactivated users.",
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "source",
    "required": false,
    "schema": {
      "description": "`local`, `scim` or `federated`.",
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "cursor",
    "required": false,
    "schema": {
      "description": "The `next_cursor` of the previous page.",
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "description": "At most this many (1 to 200, default 50).",
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.identity.users.UserPage.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: directory_users::list · src/routes/directory_users.rs:180

GET/v1/console/accounts/{account_id}/directories/{directory_id}/users/{principal_id}Get

Mounted handler `directory_users::get`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "principal_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.identity.users.UserDetail.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: directory_users::get · src/routes/directory_users.rs:206

POST/v1/console/accounts/{account_id}/directories/{directory_id}/users/{principal_id}/deactivateDeactivate

Mounted handler `directory_users::deactivate`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "principal_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.identity.users.UserDetail.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: directory_users::deactivate · src/routes/directory_users.rs:219

POST/v1/console/accounts/{account_id}/directories/{directory_id}/users/{principal_id}/mfa-resetMfa reset

Mounted handler `directory_users::mfa_reset`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "principal_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.directory_users.MfaResetResult.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: directory_users::mfa_reset · src/routes/directory_users.rs:313

POST/v1/console/accounts/{account_id}/directories/{directory_id}/users/{principal_id}/reactivateReactivate

Mounted handler `directory_users::reactivate`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "principal_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.identity.users.UserDetail.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: directory_users::reactivate · src/routes/directory_users.rs:267

POST/v1/console/accounts/{account_id}/directories/{directory_id}/users/{principal_id}/unlockUnlock

Mounted handler `directory_users::unlock`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "directory_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "principal_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.directory_users.UnlockResult.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: directory_users::unlock · src/routes/directory_users.rs:357

GET/v1/console/accounts/{account_id}/environmentsList environments

Mounted handler `saas::list_environments`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "first",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "after",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.boundaries.Connection_crate.services.saas.boundaries.Environment_.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_environments · src/routes/saas.rs:1647

POST/v1/console/accounts/{account_id}/environmentsCreate environment

Mounted handler `saas::create_environment`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.saas.boundaries.CreateEnvironment.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.boundaries.Environment.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::create_environment · src/routes/saas.rs:1658

GET/v1/console/accounts/{account_id}/environments/{environment_id}/directoriesList directories

Mounted handler `saas::list_directories`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "first",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "after",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "environment_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.boundaries.Connection_crate.services.saas.boundaries.Directory_.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_directories · src/routes/saas.rs:1684

POST/v1/console/accounts/{account_id}/environments/{environment_id}/directoriesCreate directory

Mounted handler `saas::create_directory`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "environment_id",
    "required": true,
    "schema": {
      "type": "string"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/services.saas.boundaries.CreateDirectory.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.boundaries.Directory.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::create_directory · src/routes/saas.rs:1701

GET/v1/console/accounts/{account_id}/orgsList orgs

Mounted handler `org::list_orgs`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.org.OrgOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: org::list_orgs · src/routes/org.rs:223

POST/v1/console/accounts/{account_id}/orgsCreate org

Mounted handler `org::create_org`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.org.CreateOrgBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.org.OrgOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: org::create_org · src/routes/org.rs:237

GET/v1/console/accounts/{account_id}/orgs/{org_id}/membersList members

Mounted handler `org::list_members`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "org_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.org.MemberOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: org::list_members · src/routes/org.rs:258

POST/v1/console/accounts/{account_id}/orgs/{org_id}/membersAdd member

Mounted handler `org::add_member`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "org_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.org.AddMemberBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "format": "uuid"
            },
            "principalId": {
              "type": "string",
              "format": "uuid"
            },
            "role": {
              "type": "string"
            },
            "status": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "principalId",
            "role",
            "status"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: org::add_member · src/routes/org.rs:308

DELETE/v1/console/accounts/{account_id}/orgs/{org_id}/members/{principal_id}Remove member

Mounted handler `org::remove_member`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "org_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "principal_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: org::remove_member · src/routes/org.rs:340

GET/v1/console/accounts/{account_id}/principalsList principals

Mounted handler `org::list_principals`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "kind",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.org.PrincipalOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: org::list_principals · src/routes/org.rs:369

GET/v1/console/accounts/{account_id}/purchasesList purchases

Mounted handler `saas::list_purchases`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.billing.Purchase.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_purchases · src/routes/saas.rs:700

POST/v1/console/accounts/{account_id}/purchases/{purchase_id}/reconcileReconcile checkout return

Mounted handler `saas::reconcile_checkout_return`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "purchase_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.payments.ReconcileResult.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::reconcile_checkout_return · src/routes/saas.rs:957

GET/v1/console/accounts/{account_id}/resourcesList

Mounted handler `resources::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "after",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/entities.oauth_resource_registrations.Model.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: resources::list · src/routes/resources.rs:65

POST/v1/console/accounts/{account_id}/resourcesPropose

Mounted handler `resources::propose`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.resources.ResourceProposalBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/entities.oauth_resource_registrations.Model.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: resources::propose · src/routes/resources.rs:43

GET/v1/console/accounts/{account_id}/team/invitationsList team invitations

Mounted handler `saas::list_team_invitations`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.team.Invitation.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_team_invitations · src/routes/saas.rs:731

POST/v1/console/accounts/{account_id}/team/invitationsCreate team invitation

Mounted handler `saas::create_team_invitation`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saas.CreateInvitationInput.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.team.CreatedInvitation.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::create_team_invitation · src/routes/saas.rs:744

GET/v1/console/accounts/{account_id}/team/membersList team members

Mounted handler `saas::list_team_members`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.team.TeamMember.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_team_members · src/routes/saas.rs:718

DELETE/v1/console/accounts/{account_id}/team/members/{user_id}Remove team member

Mounted handler `saas::remove_team_member`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::remove_team_member · src/routes/saas.rs:839

PATCH/v1/console/accounts/{account_id}/team/members/{user_id}Change member role

Mounted handler `saas::change_member_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "header",
    "name": "X-Auth-Proof",
    "required": false,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Fresh user-verified action/session/directory-bound proof when required by live policy. Not a substitute for authorization."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saas.ChangeMemberRoleInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.Membership.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::change_member_role · src/routes/saas.rs:806

GET/v1/console/accounts/{account_id}/usageList usage

Mounted handler `saas::list_usage`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.billing.LedgerEntry.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::list_usage · src/routes/saas.rs:682

GET/v1/console/accounts/{account_id}/walletGet wallet

Mounted handler `saas::get_wallet`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "account_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.billing.WalletBalance.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_wallet · src/routes/saas.rs:670

POST/v1/console/action-proofsCreate

Mounted handler `proof_intents::create`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.proof_intents.CreateIntentBody.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.proof_intents.CreatedIntent.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proof_intents::create · src/routes/proof_intents.rs:61

GET/v1/console/action-proofs/{id}/continuePage

Mounted handler `proof_intents::page`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proof_intents::page · src/routes/proof_intents.rs:146

GET/v1/console/action-proofs/{id}/detailDetail

Mounted handler `proof_intents::detail`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.proof_intents.IntentDetail.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proof_intents::detail · src/routes/proof_intents.rs:79

POST/v1/console/action-proofs/{id}/finishFinish

Mounted handler `proof_intents::finish`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.proofs.ProofFinishBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ready": {
              "const": true
            }
          },
          "required": [
            "ready"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proof_intents::finish · src/routes/proof_intents.rs:105

GET/v1/console/action-proofs/{id}/resultResult

Mounted handler `proof_intents::result`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.proof_intents.IntentResult.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proof_intents::result · src/routes/proof_intents.rs:122

POST/v1/console/action-proofs/{id}/startStart

Mounted handler `proof_intents::start`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.assurance.ProofChallenge.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proof_intents::start · src/routes/proof_intents.rs:92

GET/v1/console/api-key-deliveriesList

Mounted handler `credential_delivery::list`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.credential_delivery.DeliveryReceipt.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: credential_delivery::list · src/routes/credential_delivery.rs:102

GET/v1/console/api-key-deliveries/{delivery_id}Detail

Mounted handler `credential_delivery::detail`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "delivery_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.credential_delivery.DeliveryDetail.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: credential_delivery::detail · src/routes/credential_delivery.rs:197

POST/v1/console/api-key-deliveries/{delivery_id}/consumeConsume

Mounted handler `credential_delivery::consume`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "delivery_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.credential_delivery.ConsumeInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.credential_delivery.ConsumeResponse.output"
        }
      }
    },
    "headers": {
      "Cache-Control": {
        "schema": {
          "const": "no-store"
        }
      },
      "Pragma": {
        "schema": {
          "const": "no-cache"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: credential_delivery::consume · src/routes/credential_delivery.rs:125

GET/v1/console/api-key-deliveries/{delivery_id}/pickupPickup

Mounted handler `credential_delivery::pickup`. Live permissions, account/directory ownership and factor policy are enforced by the service. This is a public static issuer-origin shell. It contains no account or receipt metadata. Its same-origin script separately fetches protected detail using the existing Strict portal cookie. No proof, credential or bearer is handed between windows.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "path",
    "name": "delivery_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/html": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "303": {
    "description": "Issuer-selected safe continuation / hosted form redirect.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "307": {
    "description": "Configured legacy UI redirect or safe continuation.",
    "headers": {
      "Location": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: credential_delivery::pickup · src/routes/credential_delivery.rs:194

GET/v1/console/applicationsGet console applications

Mounted handler `saas::get_console_applications`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "account_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.applications.Application.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_console_applications · src/routes/saas.rs:1173

GET/v1/console/assets/action-proof.jsScript

Mounted handler `proof_intents::script`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/javascript": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proof_intents::script · src/routes/proof_intents.rs:149

GET/v1/console/assets/credential-pickup.cssPickup css

Mounted handler `credential_delivery::pickup_css`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/css": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: credential_delivery::pickup_css · src/routes/credential_delivery.rs:247

GET/v1/console/assets/credential-pickup.jsPickup js

Mounted handler `credential_delivery::pickup_js`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

{
  "200": {
    "description": "Successful response.",
    "content": {
      "text/javascript": {
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: credential_delivery::pickup_js · src/routes/credential_delivery.rs:238

GET/v1/console/auditGet console audit

Mounted handler `saas::get_console_audit`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "account_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.saas.ConsoleAuditEvent.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_console_audit · src/routes/saas.rs:1437

GET/v1/console/catalogGet catalog

Mounted handler `saas::get_catalog`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "market",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "currency",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.billing.CatalogPrice.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_catalog · src/routes/saas.rs:140

GET/v1/console/clientsGet console clients

Mounted handler `saas::get_console_clients`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "account_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.applications.PublicClient.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_console_clients · src/routes/saas.rs:1187

POST/v1/console/invitations/acceptAccept team invitation

Mounted handler `saas::accept_team_invitation`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saas.AcceptInvitationInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.saas.Membership.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::accept_team_invitation · src/routes/saas.rs:784

GET/v1/console/meMe

Mounted handler `me::me`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.me.MeOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: me::me · src/routes/me.rs:87

GET/v1/console/me/grantsList grants

Mounted handler `me::list_grants`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.me.GrantOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: me::list_grants · src/routes/me.rs:194

POST/v1/console/me/grants/revokeRevoke grant

Mounted handler `me::revoke_grant`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.me.RevokeGrantBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.me.AckOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: me::revoke_grant · src/routes/me.rs:232

GET/v1/console/me/sessionsList sessions

Mounted handler `me::list_sessions`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.me.SessionOut.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: me::list_sessions · src/routes/me.rs:121

POST/v1/console/me/sessions/{session_id}/revokeRevoke session

Mounted handler `me::revoke_session`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "session_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.me.AckOut.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: me::revoke_session · src/routes/me.rs:163

GET/v1/console/overviewGet overview

Mounted handler `saas::get_overview`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "account_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.saas.ConsoleOverview.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_overview · src/routes/saas.rs:266

POST/v1/console/passwordEnroll password

Mounted handler `proofs::enroll_password`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.proofs.PasswordEnrollmentBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ok": {
              "const": true
            },
            "reauthentication_required": {
              "const": true
            }
          },
          "required": [
            "ok",
            "reauthentication_required"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proofs::enroll_password · src/routes/proofs.rs:37

GET/v1/console/proof-capabilitiesCapabilities

Mounted handler `proof_intents::capabilities`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.proof_intents.ProofCapabilities.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proof_intents::capabilities · src/routes/proof_intents.rs:135

POST/v1/console/proofs/startStart

Mounted handler `proofs::start`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or portalCookie or bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.proofs.ProofStartBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.assurance.ProofChallenge.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proofs::start · src/routes/proofs.rs:145

POST/v1/console/proofs/{proof_id}/finishFinish

Mounted handler `proofs::finish`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "proof_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.proofs.ProofFinishBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.assurance.VerifiedProof.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proofs::finish · src/routes/proofs.rs:176

GET/v1/console/purchasesGet console purchases

Mounted handler `saas::get_console_purchases`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "account_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.billing.Purchase.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_console_purchases · src/routes/saas.rs:1251

GET/v1/console/settingsGet console settings

Mounted handler `saas::get_console_settings`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "account_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.saas.WorkspaceSettings.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_console_settings · src/routes/saas.rs:1282

PATCH/v1/console/settingsPatch console settings

Mounted handler `saas::patch_console_settings`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "account_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.saas.UpdateWorkspaceSettings.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.saas.WorkspaceSettings.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::patch_console_settings · src/routes/saas.rs:1360

GET/v1/console/teamGet console team

Mounted handler `saas::get_console_team`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "account_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.saas.team.TeamMember.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_console_team · src/routes/saas.rs:1269

GET/v1/console/usageGet console usage

Mounted handler `saas::get_console_usage`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: portalCookie or bearerAuth

[
  {
    "in": "query",
    "name": "account_id",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.saas.UsageRecord.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_console_usage · src/routes/saas.rs:1218

GET/v1/keysList keys

Mounted handler `api_keys::list_keys`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

[
  {
    "in": "query",
    "name": "limit",
    "required": false,
    "schema": {
      "type": [
        "integer",
        "null"
      ],
      "format": "uint64",
      "minimum": 0
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/services.api_keys.KeyMetadata.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: api_keys::list_keys · src/routes/api_keys.rs:191

POST/v1/keysCreate key

Mounted handler `api_keys::create_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.api_keys.CreateKeyInput.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.api_keys.IssuedKeyView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: api_keys::create_key · src/routes/api_keys.rs:204

DELETE/v1/keys/{key_id}Revoke key

Mounted handler `api_keys::revoke_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

[
  {
    "in": "path",
    "name": "key_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: api_keys::revoke_key · src/routes/api_keys.rs:242

POST/v1/keys/{key_id}/rotateRotate key

Mounted handler `api_keys::rotate_key`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

[
  {
    "in": "path",
    "name": "key_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.api_keys.IssuedKeyView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: api_keys::rotate_key · src/routes/api_keys.rs:223

GET/v1/legal/linksLinks

Mounted handler `agreements_public::links`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "client_id",
    "required": true,
    "schema": {
      "description": "The client asking; it names the application and directory.",
      "type": "string"
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "locale",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.agreements_public.PublicLinks.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: agreements_public::links · src/routes/agreements_public.rs:89

POST/v1/me/passwordEnroll password

Mounted handler `proofs::enroll_password`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.proofs.PasswordEnrollmentBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "ok": {
              "const": true
            },
            "reauthentication_required": {
              "const": true
            }
          },
          "required": [
            "ok",
            "reauthentication_required"
          ]
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proofs::enroll_password · src/routes/proofs.rs:37

POST/v1/proofs/startStart

Mounted handler `proofs::start`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or portalCookie or bearerAuth

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.proofs.ProofStartBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.assurance.ProofChallenge.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proofs::start · src/routes/proofs.rs:145

POST/v1/proofs/{proof_id}/finishFinish

Mounted handler `proofs::finish`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: hostedCookie or portalCookie or bearerAuth

[
  {
    "in": "path",
    "name": "proof_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.proofs.ProofFinishBody.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/services.assurance.VerifiedProof.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ProofError"
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: proofs::finish · src/routes/proofs.rs:176

GET/v1/public/catalogGet public catalog

Mounted handler `saas::get_public_catalog`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: Public surface; request and anti-abuse policy still apply.

[
  {
    "in": "query",
    "name": "market",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  },
  {
    "in": "query",
    "name": "currency",
    "required": false,
    "schema": {
      "type": [
        "string",
        "null"
      ]
    },
    "style": "form",
    "explode": true
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.saas.PublicCatalogPrice.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: saas::get_public_catalog · src/routes/saas.rs:205

GET/v1/rolesList roles

Mounted handler `claims::list_roles`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.claims.RoleView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::list_roles · src/routes/claims.rs:490

POST/v1/rolesCreate role

Mounted handler `claims::create_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.claims.RoleInput.input"
      }
    }
  }
}
{
  "201": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.RoleView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::create_role · src/routes/claims.rs:500

DELETE/v1/roles/{role_id}Delete role

Mounted handler `claims::delete_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::delete_role · src/routes/claims.rs:540

PATCH/v1/roles/{role_id}Update role

Mounted handler `claims::update_role`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.claims.RoleInput.input"
      }
    }
  }
}
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/routes.claims.RoleView.output"
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::update_role · src/routes/claims.rs:519

GET/v1/roles/{role_id}/assignmentsList assignments

Mounted handler `claims::list_assignments`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "200": {
    "description": "Successful response.",
    "content": {
      "application/json": {
        "schema": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/routes.claims.AssignmentView.output"
          }
        }
      }
    }
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::list_assignments · src/routes/claims.rs:558

POST/v1/roles/{role_id}/assignmentsCreate assignment

Mounted handler `claims::create_assignment`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/routes.claims.AssignmentInput.input"
      }
    }
  }
}
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::create_assignment · src/routes/claims.rs:577

DELETE/v1/roles/{role_id}/assignments/{auth_user_id}Delete assignment

Mounted handler `claims::delete_assignment`. Live permissions, account/directory ownership and factor policy are enforced by the service.

Authentication: applicationApiKey

[
  {
    "in": "path",
    "name": "role_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  },
  {
    "in": "path",
    "name": "auth_user_id",
    "required": true,
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "description": "Preserve the exact encoded identifier. Catch-all paths include the documented resource/action suffix."
  }
]
{
  "204": {
    "description": "Successful response."
  },
  "default": {
    "description": "Handler/authentication errors use the documented envelope; malformed extractor bodies can return framework text rejection. Inspect HTTP status; never treat network uncertainty as a failed write.",
    "content": {
      "application/json": {
        "schema": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ApiError"
            },
            {
              "$ref": "#/components/schemas/OAuthError"
            }
          ]
        }
      },
      "text/plain": {
        "schema": {
          "type": "string"
        }
      }
    },
    "headers": {
      "WWW-Authenticate": {
        "schema": {
          "type": "string"
        }
      },
      "Retry-After": {
        "schema": {
          "type": "string"
        }
      }
    }
  }
}

Handler: claims::delete_assignment · src/routes/claims.rs:597