华为乾坤-查询认证源信息:响应示例

时间:2025-02-17 11:36:24

响应示例

返回状态码为200:查询认证源返回体。

HTTP/1.1 200 OK
Date: Sun,16 Feb 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
{
	"errcode" : "0",
	"errmsg" : "",
	"pageIndex" : 1,
	"pageSize" : 20,
	"total" : 100,
	"data" : [
		{
			"id" : "8a3aa7626c64a640016c64c3b96d01a8",
			"tenantId" : "8a3aa7626c64a640016c64c3b96d01a8",
			"ldapServerId" : "8a3aa7626c64a640016c64b698c300f4",
			"ldapServerName" : "10.179.182.226",
			"dn" : "ou=Domain Controllers",
			"synTime" : "12:30",
			"status" : 0,
			"enable" : 0,
			"updateTime" : "2019-08-12 19:37:15",
			"syncFailedReason" : "证书策略不存在"
		}
	]
}

返回状态码为400:出现错误返回结果

HTTP/1.1 400 Bad Request
Date: Sun,16 Feb 2025 10:00:00 GMT
Server: example-server
Content-Type: application/json;charset=UTF-8
Content-Length: 250
Connection: keep-alive
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128679022.html