Skip to main content

添加证书

基本信息

该接口主要用于添加证书

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

请求参数

名称位置类型必选中文名说明
team_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