跳到主要内容

AddPlugin

调用该接口租户启用插件。

Request​

post \tenants\{tenant_id}\plugins
NameLocated inTypeDescription
tenant_idpathstring

Request Body​

DescriptionTypeSchema
Objectv1AddTenantPluginBody

v1AddTenantPluginBody​

NameTypeDescription
plugin_idstring

Response​

Response 200​

Code2DescriptionTypeSchema
200OKObjectv1AddTenantPluginResponse

v1AddTenantPluginResponse​

NameTypeDescription
okboolean

Response default​

Code2DescriptionTypeSchema
defaultAn unexpected error response.ObjectrpcStatus

rpcStatus​

NameTypeDescription
codeinteger
detailsArray[protobufAny][ 具体参数可见下面 protobufAny ]
messagestring

protobufAny​

NameTypeDescription
@typestring