文档

UpdateGatewayAuthConsumerStatus - 更新网关鉴权消费者状态

更新时间:

更新网关鉴权消费者状态。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
GatewayUniqueIdstring

网关唯一 ID。

gw-685f661467b54f48b7b7a76605ce****
Idlong

鉴权消费者 ID。

1
ConsumerStatusboolean

鉴权消费者状态:

  • true:启用

  • false:停用

true
AcceptLanguagestring

返回信息的语言类型:

  • zh:中文
  • en:英文
zh

返回参数

名称类型描述示例值
object

RestResult<List>

RequestIdstring

请求 ID。

56D9E600-6348-4260-B35F-583413F****
Successboolean

请求结果,取值如下:

  • true:请求成功。
  • false:请求失败。
true
Codeinteger

code 仅仅用来和 success 同步。

200
ErrorCodestring

错误码。

mse-100-000
HttpStatusCodeinteger

HTTP 状态码。

200
Messagestring

返回信息。

请求处理成功
DynamicCodestring

动态错误信息中的占位符。

code
DynamicMessagestring

动态错误信息,用于替换返回参数 ErrMessage 错误信息中的**%s**。

说明 如果 ErrMessage 返回The Value of Input Parameter %s is not valid,且 DynamicMessage 返回 DtsJobId,则代表所传入的请求参数 DtsJobId 不合法。
The specified parameter is invalid.
Databoolean

执行是否成功:

  • true:成功

  • false:失败

true

示例

正常返回示例

JSON格式

{
  "RequestId": "56D9E600-6348-4260-B35F-583413F****",
  "Success": true,
  "Code": 200,
  "ErrorCode": "mse-100-000",
  "HttpStatusCode": 200,
  "Message": "请求处理成功",
  "DynamicCode": "code",
  "DynamicMessage": "The specified parameter is invalid.",
  "Data": true
}

错误码

HTTP status code错误码错误信息描述
400IllegalRequestInvalid request:%s非法请求: %s
400InvalidParameterParameter error:%s请求参数错误:%s
403NoPermissionYou are not authorized to perform this operation:%s没有权限使用此接口:%s
404NotFoundNot found:%s资源不存在:%s
500InternalErrorConsole error. Try again later:%s控制台错误.稍后重试:%s

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2024-02-23API 内部配置变更,不影响调用看变更集
变更项变更内容
API 内部配置变更,不影响调用
  • 本页导读 (1)
文档反馈