身份服务272 个端点

身份服务

端口 11001 · 272 个端点 · identity-service.json

API Key

方法路径摘要
GET/admin/auth/api-keys管理员查询 API Key 列表详情 →
GET/admin/auth/api-keys/anomalies安全异常检测详情 →
POST/admin/auth/api-keys/batch-revoke批量吊销 API Key详情 →
POST/admin/auth/api-keys/cleanup-audit-logs清理旧审计日志详情 →
GET/admin/auth/api-keys/expiring获取即将过期的 API Key详情 →
GET/admin/auth/api-keys/stats管理员 API Key 统计详情 →
DELETE/admin/auth/api-keys/{api_key_id}/force管理员强制吊销 API Key详情 →
GET/auth/api-keys查询 API Key 列表详情 →
POST/auth/api-keys创建 API Key详情 →
DELETE/auth/api-keys/{api_key_id}吊销 API Key详情 →
GET/auth/api-keys/{api_key_id}获取 API Key 详情详情 →
GET/auth/api-keys/{api_key_id}/audit-logs获取 API Key 审计日志详情 →
POST/auth/api-keys/{api_key_id}/ip-restrictions添加 IP 限制详情 →
DELETE/auth/api-keys/{api_key_id}/ip-restrictions/{restriction_id}删除 IP 限制详情 →
POST/auth/api-keys/{api_key_id}/rotate轮换 API Key详情 →
PUT/auth/api-keys/{api_key_id}/scopes更新 API Key 权限范围详情 →
PUT/auth/api-keys/{api_key_id}/status启用/禁用 API Key详情 →
GET/auth/api-keys/{api_key_id}/usage获取 API Key 使用统计详情 →
GET/auth/api-keys/{api_key_id}/usage-stats获取 API Key 使用统计详情 →
POST/internal/identity/validate-key验证 API Key(内部)详情 →

Admin/Agents

方法路径摘要
GET/admin/agentsList Agents详情 →
POST/admin/agentsCreate Agent详情 →
DELETE/admin/agents/{agent_id}Revoke Agent详情 →
GET/admin/agents/{agent_id}Get Agent详情 →
PUT/admin/agents/{agent_id}Update Agent详情 →
GET/admin/agents/{agent_id}/activityGet Agent Activity详情 →
GET/admin/agents/{agent_id}/permissionsGet Agent Permissions详情 →

Admin/IoTs

方法路径摘要
GET/admin/iotsList Devices详情 →
POST/admin/iotsCreate Device详情 →
DELETE/admin/iots/{iot_id}Revoke Device详情 →
GET/admin/iots/{iot_id}Get Device详情 →
PUT/admin/iots/{iot_id}Update Device详情 →

Admin/Robots

方法路径摘要
GET/admin/robotsList Robots详情 →
POST/admin/robotsCreate Robot详情 →
DELETE/admin/robots/{robot_id}Delete Robot详情 →
GET/admin/robots/{robot_id}Get Robot详情 →
PUT/admin/robots/{robot_id}Update Robot详情 →
POST/admin/robots/{robot_id}/commissionCommission Robot详情 →
POST/admin/robots/{robot_id}/decommissionDecommission Robot详情 →
POST/admin/robots/{robot_id}/intentIssue Intent Token详情 →
POST/admin/robots/{robot_id}/intent/revokeRevoke Intent Token详情 →

IoTs

方法路径摘要
GET/iotsList User Devices详情 →
POST/iots/pairPair Device详情 →
DELETE/iots/{iot_id}Unpair Device详情 →
GET/iots/{iot_id}/family-accessList Family Members详情 →
POST/iots/{iot_id}/family-accessAdd Family Member详情 →
DELETE/iots/{iot_id}/family-access/{member_id}Remove Family Member详情 →
POST/iots/{iot_id}/transferTransfer Device详情 →

NHI - 管理

方法路径摘要
GET/admin/policies/nhi获取NHI策略详情 →
PUT/admin/policies/nhi更新NHI策略详情 →

NHI Agents

方法路径摘要
GET/admin/agents/{agent_id}/credentialsList Agent Credentials详情 →
POST/admin/agents/{agent_id}/credentialsCreate Agent Credential详情 →
DELETE/admin/agents/{agent_id}/credentials/{cred_id}Revoke Agent Credential详情 →
GET/admin/agents/{agent_id}/credentials/{cred_id}Get Agent Credential详情 →
POST/admin/agents/{agent_id}/credentials/{cred_id}/rotateRotate Agent Credential详情 →

OAuth

方法路径摘要
GET/admin/users/{user_id}/oauth-connections管理员查看用户OAuth连接详情 →
POST/auth/oidc/backchannel-logoutOIDC后通道登出详情 →
POST/auth/oidc/logoutRP发起登出详情 →
GET/auth/oidc/session-iframeOIDC会话状态iframe详情 →

RBAC - 权限

方法路径摘要
POST/auth/check-permission检查用户权限详情 →
POST/auth/check-role检查用户角色详情 →
POST/internal/identity/bootstrap-admin初始化管理员角色(内部服务调用)详情 →
POST/internal/identity/check-permission检查用户权限(内部服务调用)详情 →

RBAC - 角色

方法路径摘要
GET/admin/abac-policies查询ABAC策略列表详情 →
POST/admin/abac-policies创建ABAC策略详情 →
DELETE/admin/abac-policies/{policy_id}删除ABAC策略详情 →
GET/admin/abac-policies/{policy_id}获取ABAC策略详情详情 →
PUT/admin/abac-policies/{policy_id}更新ABAC策略详情 →
GET/admin/role-activations查询角色激活记录详情 →
POST/admin/role-activations/{role_activation_id}/revoke撤销角色激活详情 →
GET/admin/users/{user_id}/oauth-connections管理员查看用户OAuth连接详情 →
GET/auth/me/role-activations查询我的角色激活详情 →
POST/auth/me/role-activations请求角色激活详情 →
GET/auth/me/role-activations/available-roles查询可申请的角色详情 →
POST/internal/identity/pim/cleanup-expired清理过期角色激活详情 →

WebAuthn

方法路径摘要
GET/auth/me/webauthn-credentials获取已注册的Passkey列表详情 →
DELETE/auth/me/webauthn-credentials/{credential_id}删除Passkey详情 →
POST/auth/webauthn/authenticate/begin开始Passkey公开认证详情 →
POST/auth/webauthn/authenticate/complete完成Passkey公开认证详情 →
POST/auth/webauthn/login/begin开始Passkey登录详情 →
POST/auth/webauthn/login/complete完成Passkey登录详情 →
POST/auth/webauthn/register/begin开始Passkey注册详情 →
POST/auth/webauthn/register/complete完成Passkey注册详情 →

admin

方法路径摘要
GET/admin/ldap/healthLDAP directory health check详情 →
POST/admin/ldap/test-connectionTest LDAP directory connection详情 →
GET/admin/ldap/{name}/group-role-mappingGet LDAP group-role mapping详情 →
PUT/admin/ldap/{name}/group-role-mappingUpdate LDAP group-role mapping详情 →

auth

方法路径摘要
POST/auth/ldap/loginLDAP directory authentication详情 →

会话管理

方法路径摘要
GET/admin/users/{user_id}/devices管理员查询用户设备列表详情 →
DELETE/auth/me/authenticator/backup删除全部Authenticator备份详情 →
GET/auth/me/authenticator/backup详情 →
POST/auth/me/authenticator/backup详情 →
DELETE/auth/me/authenticator/backup/{backup_id}详情 →
GET/auth/me/authenticator/devices详情 →
DELETE/auth/me/authenticator/devices/{device_id}移除认证器设备详情 →
POST/auth/qr-login/cancel取消二维码登录详情 →
POST/auth/qr-login/confirm确认二维码登录详情 →
POST/auth/qr-login/initiate发起二维码登录详情 →
POST/auth/qr-login/scan扫描二维码登录详情 →
GET/auth/qr-login/status查询二维码登录状态详情 →
DELETE/devices移除所有设备详情 →
GET/devices获取用户设备列表详情 →
DELETE/devices/{device_id}移除设备详情 →
PUT/devices/{device_id}/trust信任/取消信任设备详情 →
GET/internal/identity/session-policy/{tenant_id}获取会话策略(内部服务调用)详情 →

双人复核

方法路径摘要
GET/admin/maker-checker列出双人复核记录详情 →
DELETE/admin/maker-checker/{record_id}删除双人复核记录详情 →

多因素认证

方法路径摘要
POST/auth/mfa/send-code发送MFA挑战验证码详情 →
POST/auth/mfa/verify-challenge验证MFA挑战详情 →

安全策略

方法路径摘要
GET/admin/security/auth-config获取认证配置详情 →
PUT/admin/security/auth-config更新认证配置详情 →
GET/admin/security/password-policy获取密码策略详情 →
PUT/admin/security/password-policy更新密码策略详情 →
GET/admin/security/password-stats获取密码统计详情 →
GET/admin/security/risk-events风险事件列表详情 →
GET/admin/security/risk-events/aggregation风险事件聚合详情 →

安全管理

方法路径摘要
GET/admin/security/risk-config获取风险配置详情 →
PUT/admin/security/risk-config更新风险配置详情 →
POST/admin/security/risk-config/reset重置风险配置详情 →
GET/admin/security/risk-dashboard风险仪表盘详情 →

未成年人保护

方法路径摘要
GET/admin/consents儿童同意记录列表详情 →
POST/admin/users/{user_id}/children-consent/deny拒绝儿童同意详情 →
POST/admin/users/{user_id}/children-consent/verify验证儿童同意详情 →
PUT/internal/identity/users/{user_id}/age-classification更新用户年龄分类(内部服务调用)详情 →

身份提供商

方法路径摘要
GET/admin/identity-providers列出身份提供商详情 →
POST/admin/identity-providers创建身份提供商详情 →
POST/admin/identity-providers/import-oidc-discovery导入OIDC Discovery详情 →
POST/admin/identity-providers/import-saml-metadata导入SAML Metadata详情 →
DELETE/admin/identity-providers/{provider_id}删除身份提供商详情 →
GET/admin/identity-providers/{provider_id}获取身份提供商详情详情 →
PUT/admin/identity-providers/{provider_id}更新身份提供商详情 →
POST/admin/identity-providers/{provider_id}/activate启用身份提供商详情 →
GET/admin/identity-providers/{provider_id}/attribute-mapping获取属性映射详情 →
PUT/admin/identity-providers/{provider_id}/attribute-mapping更新属性映射详情 →
GET/admin/identity-providers/{provider_id}/certificates列出证书详情 →
POST/admin/identity-providers/{provider_id}/certificates上传证书详情 →
DELETE/admin/identity-providers/{provider_id}/certificates/{cert_id}删除证书详情 →
POST/admin/identity-providers/{provider_id}/certificates/{cert_id}/rotate证书轮转详情 →
POST/admin/identity-providers/{provider_id}/deactivate停用身份提供商详情 →
GET/admin/identity-providers/{provider_id}/jit-config获取JIT配置详情 →
PUT/admin/identity-providers/{provider_id}/jit-config更新JIT配置详情 →
GET/admin/identity-providers/{provider_id}/stats获取提供商统计详情 →
POST/admin/identity-providers/{provider_id}/test测试身份提供商连接详情 →
GET/admin/identity-providers/{provider_id}/users获取提供商关联用户详情 →

身份认证

方法路径摘要
POST/admin/impersonate管理员模拟用户登录详情 →
GET/admin/users查询用户列表详情 →
POST/admin/users创建用户详情 →
POST/admin/users/batch批量创建用户详情 →
POST/admin/users/batch/status批量更新用户状态详情 →
POST/admin/users/merge合并用户详情 →
DELETE/admin/users/{user_id}删除用户详情 →
GET/admin/users/{user_id}获取用户详情详情 →
PUT/admin/users/{user_id}更新用户信息详情 →
POST/admin/users/{user_id}/account-unlocks解锁账户详情 →
GET/admin/users/{user_id}/identities获取用户身份列表详情 →
POST/admin/users/{user_id}/identities添加用户身份详情 →
DELETE/admin/users/{user_id}/identities/{identity_id}移除用户身份详情 →
PUT/admin/users/{user_id}/identities/{identity_id}/set-primary设置主身份详情 →
POST/admin/users/{user_id}/identities/{identity_id}/verifications验证用户身份详情 →
POST/admin/users/{user_id}/impersonate管理员模拟用户详情 →
GET/admin/users/{user_id}/login-histories获取登录历史详情 →
GET/admin/users/{user_id}/passkeys管理员查询用户Passkey凭证详情 →
DELETE/admin/users/{user_id}/passkeys/{credential_id}管理员撤销用户Passkey凭证详情 →
PUT/admin/users/{user_id}/password修改密码详情 →
POST/admin/users/{user_id}/password-resets重置密码详情 →
GET/admin/users/{user_id}/password-status获取用户密码状态详情 →
GET/admin/users/{user_id}/security-status获取安全状态详情 →
PUT/admin/users/{user_id}/status更新用户状态详情 →
POST/auth/anonymous匿名认证详情 →
GET/auth/captcha/challenge获取CAPTCHA挑战详情 →
POST/auth/forgot-password忘记密码详情 →
POST/auth/generate-ticket生成一次性票据详情 →
POST/auth/id-token/signinID Token登录(未启用)详情 →
POST/auth/login用户登录详情 →
POST/auth/login/email-code邮箱验证码登录详情 →
POST/auth/login/phone-code手机验证码登录详情 →
POST/auth/logout退出登录详情 →
GET/auth/magic-link/callback魔法链接回调 (GET→POST 双步跳转)详情 →
POST/auth/magic-link/callback魔法链接回调 (GET→POST 双步跳转)详情 →
POST/auth/magic-link/request请求发送魔法链接详情 →
DELETE/auth/me停用当前账户详情 →
GET/auth/me获取当前登录用户信息详情 →
PUT/auth/me更新当前用户信息详情 →
GET/auth/me/audit-logs获取我的审计日志详情 →
GET/auth/me/children-consent获取儿童隐私同意状态详情 →
DELETE/auth/me/consent撤销用户同意详情 →
POST/auth/me/consent记录用户同意详情 →
GET/auth/me/consent-history获取同意历史记录详情 →
POST/auth/me/delete-account永久删除账户 (GDPR 被遗忘权/账户删除)详情 →
GET/auth/me/devices获取我的设备列表详情 →
DELETE/auth/me/devices/{device_id}移除设备详情 →
PUT/auth/me/devices/{device_id}/trust信任/取消信任设备详情 →
GET/auth/me/email-verification-status检查邮箱验证状态详情 →
POST/auth/me/email/change变更邮箱地址详情 →
POST/auth/me/email/change/cancel取消邮箱变更详情 →
POST/auth/me/email/verify验证邮箱变更详情 →
POST/auth/me/export-data导出我的数据 (GDPR DSAR)详情 →
GET/auth/me/memberships获取我的租户成员状态详情 →
PUT/auth/me/password修改当前用户密码详情 →
POST/auth/me/password-strength检查密码强度详情 →
GET/auth/me/permissions获取当前用户权限详情 →
GET/auth/me/phone-verification-status检查手机号验证状态详情 →
POST/auth/me/phone/change变更手机号详情 →
POST/auth/me/phone/change/cancel取消手机号变更详情 →
POST/auth/me/phone/verify验证手机号变更详情 →
POST/auth/me/reauthenticate重新认证(step-up)详情 →
GET/auth/me/recovery-contacts获取恢复联系人列表详情 →
POST/auth/me/recovery-contacts添加恢复联系人详情 →
DELETE/auth/me/recovery-contacts/{contact_id}移除恢复联系人详情 →
POST/auth/me/recovery-contacts/{contact_id}/verify验证恢复联系人详情 →
GET/auth/me/saml-links获取SAML关联账户列表详情 →
DELETE/auth/me/saml-links/{link_id}解绑SAML关联账户详情 →
GET/auth/me/security-events获取安全事件列表详情 →
POST/auth/me/security-events/{event_id}/dismiss关闭安全事件提醒详情 →
DELETE/auth/me/sessions登出所有会话详情 →
GET/auth/me/sessions获取我的会话列表详情 →
DELETE/auth/me/sessions/{session_id}登出指定会话详情 →
POST/auth/me/stop-impersonation结束模拟会话详情 →
POST/auth/me/switch-tenant切换当前租户详情 →
GET/auth/me/tenants获取当前用户租户详情 →
GET/auth/me/verification/{tracking_id}查询验证跟踪状态详情 →
GET/auth/oauth/accounts获取用户OAuth账号列表详情 →
POST/auth/oauth/bind绑定OAuth账号详情 →
GET/auth/oauth/providers获取OAuth提供商列表详情 →
GET/auth/oauth/providers/health获取OAuth提供者健康状态详情 →
POST/auth/oauth/unbind解绑OAuth账号详情 →
GET/auth/oauth/{provider}发起OAuth登录详情 →
GET/auth/oauth/{provider}/callbackOAuth回调详情 →
POST/auth/re-authenticate重新认证(step-up)详情 →
POST/auth/recover-account通过恢复联系人初始化账户恢复详情 →
POST/auth/recover-account/reset通过恢复码重置密码详情 →
POST/auth/recovery/complete完成账户恢复详情 →
POST/auth/recovery/request发起账户恢复详情 →
POST/auth/recovery/verify验证账户恢复码详情 →
POST/auth/refresh刷新访问令牌详情 →
POST/auth/register用户注册详情 →
GET/auth/register/check-email检查邮箱是否可用详情 →
POST/auth/register/check-email检查邮箱是否可用详情 →
GET/auth/register/check-username检查用户名是否可用详情 →
POST/auth/register/check-username检查用户名是否可用详情 →
POST/auth/register/email-code邮箱验证码注册详情 →
POST/auth/register/invitation邀请注册详情 →
POST/auth/register/oauthOAuth补充注册详情 →
POST/auth/register/phone-code手机验证码注册详情 →
POST/auth/register/reapply重新申请注册详情 →
POST/auth/resend-sms-code重新发送短信验证码详情 →
POST/auth/resend-verification-email重新发送邮箱验证邮件详情 →
POST/auth/reset-password重置密码详情 →
POST/auth/send-sms-code发送短信验证码详情 →
POST/auth/send-verification-email发送邮箱验证邮件详情 →
POST/auth/ticket/signin票据签名登录详情 →
POST/auth/verify-email验证邮箱地址详情 →
POST/auth/verify-phone验证手机号详情 →
POST/auth/verify-reset-code验证重置验证码详情 →
POST/auth/web3/verify验证Web3钱包签名详情 →
DELETE/internal/identity/erase-user/{user_id}内部硬删除用户详情 →
POST/internal/identity/link-saml-user关联或创建SAML用户(内部服务调用)详情 →
POST/internal/identity/maker-checker/record记录双人复核详情 →
POST/internal/identity/record-login-failure记录登录失败详情 →
POST/internal/identity/record-login-success记录登录成功详情 →
GET/internal/identity/users/{user_id}获取用户(内部服务调用)详情 →
PUT/internal/identity/users/{user_id}/status更新用户状态(内部服务调用)详情 →
POST/internal/identity/verify-password验证密码详情 →
GET/public/auth-config/by-domain/{domain}根据域名获取租户认证配置(公开)详情 →
GET/public/auth-config/by-slug/{slug}根据租户标识获取认证配置(公开)详情 →
GET/public/auth-config/{tenant_id}获取租户认证配置(公开)详情 →
POST/public/password-strength检查密码强度(公开)详情 →
GET/public/tenants/discover发现公开可加入的租户详情 →

身份认证 - 内部接口

方法路径摘要
POST/internal/identity/tenant-rbac内部租户 RBAC 初始化详情 →
POST/internal/identity/users内部创建用户详情 →
DELETE/internal/identity/users/{user_id}内部删除用户详情 →
POST/internal/identity/users/{user_id}/roles内部授角色详情 →
GET/public/key-exchangeECDH 密钥交换详情 →