Skip to main content
Version: V5.17

更新证书

基本信息

该接口主要用于更新证书

请求路径
PUT /openapi/v1/teams/{team_id}/certificates/{certificate_id}
Body 请求体示例
{
"alias": "string",
"private_key": "string",
"certificate": "string",
"certificate_type": "string"
}

请求参数

名称位置类型必选中文名说明
team_idpathstringnone
certificate_idpathstringnone
bodybodyTeamCertificatesCnone

返回结果

状态码状态码含义说明数据模型
200OK成功TeamCertificatesR

模型

TeamCertificatesC

{
"alias": "string",
"private_key": "string",
"certificate": "string",
"certificate_type": "string"
}

属性

名称类型必选约束中文名说明
aliasstringtruenoneAlias证书名称
private_keystringtruenonePrivate key证书
certificatestringtruenoneCertificate证书key
certificate_typestringtruenoneCertificate type证书类型

TeamCertificatesR

{
"alias": "string",
"private_key": "string",
"certificate": "string",
"certificate_type": "string",
"id": 0
}

属性

名称类型必选约束中文名说明
aliasstringtruenoneAlias证书名称
private_keystringtruenonePrivate key证书
certificatestringtruenoneCertificate证书key
certificate_typestringtruenoneCertificate type证书类型
idintegertruenoneIdid