Add certificate

Basic Information

This interface is mainly used to add certificates

请求路径

  1. POST /openapi/v1/teams/{team_id}/certificates

Body 请求体示例

  1. {
  2. "alias": "string",
  3. "private_key": "string",
  4. "certificate": "string",
  5. "certificate_type": "string"
  6. }

request parameters

nameLocationtyperequiredChinese nameillustrate
team_idpathstringYesnone
bodybodyTeamCertificatesCnonone

return result

status codeStatus code meaningillustratedata model
200OKsuccessTeamCertificatesR

Model

TeamCertificatesC

  1. {
  2. "alias": "string",
  3. "private_key": "string",
  4. "certificate": "string",
  5. "certificate_type": "string"
  6. }

Attributes

nametyperequiredconstraintChinese nameillustrate
aliasstringtruenoneAliascertificate name
private_keystringtruenonePrivate keyCertificate
certificatestringtruenoneCertificatecertificate key
certificate_typestringtruenoneCertificate typeCertificate type

TeamCertificatesR

  1. {
  2. "alias": "string",
  3. "private_key": "string",
  4. "certificate": "string",
  5. "certificate_type": "string",
  6. "id": 0
  7. }

Attributes

nametyperequiredconstraintChinese nameillustrate
aliasstringtruenoneAliascertificate name
private_keystringtruenonePrivate keyCertificate
certificatestringtruenoneCertificatecertificate key
certificate_typestringtruenoneCertificate typeCertificate type
idintegertruenoneIdid