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

PUT /admin/verifications/providers/{id}

更新提供方配置的JSON配置内容、启用状态或优先级

验证服务 `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.UpdateProviderConfigRequest

FieldTypeRequiredExampleConstraintsDescription
config string No
is_active boolean No
priority integer No

Responses

StatusDescriptionSchema
200更新后的配置信息dto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_ProviderConfigResponse
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_ProviderConfigResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.ProviderConfigResponse 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.ProviderConfigResponse

FieldTypeRequiredExampleConstraintsDescription
app_id string No
channel string No
created_at string No
id string No
is_active boolean No
priority integer No
provider string No
tenant_id string No
updated_at string No