{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"BaseResp":{"description":"API响应基类。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00149901","maxLength":16,"minLength":1,"type":"string"},"error_msg":{"description":"错误描述。","example":"The request message is invalid.","maxLength":255,"minLength":1,"type":"string"}}},"LogoffUserSessionReq":{"description":"注销会话请求。","properties":{"delay_time":{"description":"延迟多长时间注销会话。","example":10,"maximum":999999,"minimum":0,"type":"integer"},"message":{"description":"客户端弹框内容。","example":"会话注销","maxLength":255,"minLength":1,"type":"string"},"message_type":{"description":"客户端弹框级别,代表给会话发消息时的严重程度(比如info、warning、error级别) 0->info; 1-> warn; 2->serious。","example":1,"maximum":4,"minimum":0,"type":"integer"},"session_ids":{"description":"会话信息id列表。","items":{"example":"1baaff74364c441f8c189fdcba427f82","maxLength":64,"minLength":1,"type":"string"},"maxItems":999,"minItems":1,"type":"array","x-annotations":["@Size(min = 1, max = 999)","@ListStringSize(min=1,max=64)"]},"title":{"description":"弹框标题。","example":"会话注销","maxLength":255,"minLength":1,"type":"string"},"transaction_id":{"description":"事务id,用作客户端日志定位跟踪。","maxLength":31,"minLength":1,"type":"string"}},"required":["delay_time","message_type"]}},"description":null,"group_id":"fe7dbee2e20f4aa589be7dce935a38ad","host":"appstream.cn-north-4.myhuaweicloud.com","id":"96e61e81094e4293b058185cd1613e25","info_version":"v1","method":"post","name":"LogoffUserSession","parameters":{},"paths":{"/v1/{project_id}/session/logoff":{"post":{"description":"用户会话注销。","operationId":"LogoffUserSession","parameters":[{"description":"用户Token。\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":2147483647,"minLength":1,"name":"X-Auth-Token","required":false,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."},{"description":"项目ID。","in":"path","maxLength":128,"minLength":1,"name":"project_id","required":true,"type":"string","x-example":"2b31ed520xxxxxxebedb6e57xxxxxxxx"},{"description":"用户会话注销请求体。","in":"body","name":"LogoffUserSessionRequestBody","required":true,"schema":{"$ref":"#/definitions/LogoffUserSessionReq"}}],"produces":["application/json"],"responses":{"200":{"description":"成功响应。"},"400":{"description":"由于包含语法错误,当前请求无法被服务器理解。","schema":{"$ref":"#/definitions/BaseResp"}},"401":{"description":"鉴权失败。","schema":{"$ref":"#/definitions/BaseResp"}},"403":{"description":"没有操作权限。","schema":{"$ref":"#/definitions/BaseResp"}},"404":{"description":"找不到资源。","schema":{"$ref":"#/definitions/BaseResp"}},"405":{"description":"请求中指定的方法不被允许。","schema":{"$ref":"#/definitions/BaseResp"}},"415":{"description":"请求中提交的资源格式不支持。","schema":{"$ref":"#/definitions/BaseResp"}},"500":{"description":"服务内部错误,具体返回错误码请参见错误码说明。","schema":{"$ref":"#/definitions/BaseResp"}},"503":{"description":"服务不可用。","schema":{"$ref":"#/definitions/BaseResp"}}},"schemes":["https"],"security":[{"apig-auth-iam-used-authn5":[]}],"summary":"用户会话注销","tags":["Session"],"x-api-type":"open-api","x-apiexplorer-hide":"N","x-apig-group":"internal,public","x-apigateway-backend":{"httpVpcEndpoints":{"description":"","method":"POST","name":"wks-appmanager-lb","path":"/v1/{project_id}/session/logoff","scheme":"https","timeout":30000},"parameters":[{"description":"","in":"header","name":"X-Auth-Token","origin":"request","value":"X-Auth-Token"},{"description":"","in":"path","name":"project_id","origin":"request","value":"project_id"}],"type":"HTTP-VPC"},"x-apigateway-cors":false,"x-apigateway-match-mode":"NORMAL","x-apigateway-ratelimit":"workspace_base","x-apigateway-request-type":"public","x-is-registered":"Y","x-request-examples-url-1":"POST /v1/a4da8115c9d8464ead3a38309130523f/session/logoff","x-support-sdk":"Y"}}},"product_short":"WorkspaceApp","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM"}},"summary":"用户会话注销","tags":"使用记录","uri":null,"version":"2.0"}