代码托管 CODEARTS REPO-添加部署密钥(废弃):请求示例

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

请求示例

POST https://{endpoint}/v1/repositories/{repository_id}/deploy_keys

{
  "key_title" : "z00464114@SZXG4Z004641141",
  "key" : "ssh-rsa AAAAB3NzaC1yXXXXXXXX",
  "can_push" : true,
  "application" : ""
}
support.huaweicloud.com/api-codeartsrepo/AddDeployKey.html