代码托管 CODEARTS REPO-添加SSH密钥:请求示例

时间:2024-11-30 15:28:36

请求示例

POST https://{endpoint}/v1/users/sshkey

{
  "title" : "repo@xxx.com",
  "key" : "ssh-rsa AAAAB3NzaC1yc2EA*********************************************************U7xcma6HU8nj1E0i46VObWyOONl3gh142BV repo@xxx.com"
}
support.huaweicloud.com/api-codeartsrepo/AddSshKey.html