代码托管 CodeArts Repo-检验私钥是否有拉取代码的权限:请求示例

时间:2023-11-01 16:20:20

请求示例

POST https://{endpoint}/v1/users/sshkey/privatekey/verify{  "private_key" : "-----BEGIN RSA PRIVATE KEY-----****-----END RSA PRIVATE KEY-----",  "repository_uuid" : "9b2fab276e9240e09cd01ed0400fc439"}
support.huaweicloud.com/api-codehub/ShowPrivateKeyVerify.html