A AuthMS API Wiki API Reference iam.tianv.com →

POST /admin/verifications/{id}/override

管理员手动覆盖认证状态(如从未通过改为通过),需提供目标状态值和原因说明。此操作需要Step-up重新认证,操作记录会写入审计日志

验证服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 认证ID

Request Body

Schema: gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.OverrideRequest

FieldTypeRequiredExampleConstraintsDescription
reason string Yes
status string Yes

Responses

StatusDescriptionSchema
200覆盖后的认证详情dto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_AdminVerificationDetail
400请求参数错误dto.SimpleResponse
401未认证或令牌无效dto.SimpleResponse
403权限不足dto.SimpleResponse
404认证记录不存在dto.SimpleResponse
500服务内部错误dto.SimpleResponse

Referenced Schemas

dto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_AdminVerificationDetail

FieldTypeRequiredExampleConstraintsDescription
code integer No
data gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.AdminVerificationDetail No
message string No
timestamp string No

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.AdminVerificationDetail

FieldTypeRequiredExampleConstraintsDescription
age_group string No
created_at string No
date_of_birth string No
expires_at string No
gender string No
id string No
id_number_hint string No
liveness_score string No
masked_name string No
max_retries integer No
method string No
override_by string No
override_reason string No
provider string No
provider_resp_id string No
rejected_at string No
rejected_reason string No
retry_count integer No
status string No
tenant_id string No
updated_at string No
user_id string No
verified_at string No