跳到主要内容

TenantEnable

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

Request

post \plugins\{id}\tenants
NameLocated inTypeDescription
idpathstringplugin id

Request Body

DescriptionTypeSchema
extra dataObjectTenantEnableRequestEnableExtraData

TenantEnableRequestEnableExtraData

NameTypeDescription
descstringextra data
extrastringextra data

Response

Response 200

Code3DescriptionType
200OK{ { }}

Response 400

Code3DescriptionType
400INVALID_ARGUMENT{ { }}

Response 500

Code3DescriptionType
500INTERNAL_ERROR{ { }}

Response default

Code2DescriptionTypeSchema
defaultAn unexpected error response.ObjectrpcStatus

rpcStatus

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

protobufAny

NameTypeDescription
@typestring