Certificates

create certificate

Changed on

Creates a new certificate for the specified account.

post/accounts/{account_id}/certificates

Request

  • Base URL
    https://api.aptible.com
  • Auth
    API key in header Authorization

Path parameters

account_idinteger required

account_id

Query parameters

no_embedboolean

When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.

Headers

Prefer'no_sensitive_extras=true'

When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.

Request body

certificate_bodystring required
private_keystring required

Response

successful

idinteger required
_typestring required
certificate_bodystring required
private_keystring
common_namestring required
not_beforestring dateTime required
not_afterstring dateTime required
issuer_countrystring required
issuer_organizationstring required
issuer_websitestring required
issuer_common_namestring required
subject_countrystring required
subject_statestring required
subject_localestring required
subject_organizationstring required
acmeboolean required
leaf_certificatestring required
certificate_chainstring required
sha256_fingerprintstring required
trustedboolean required
self_signedboolean required
certificate_arnstring required
subject_alternative_namesstring[] required
private_key_algorithmstring required
created_atstring dateTime required
updated_atstring dateTime required

Changes

    • breaking

      the response property became optional for the status

    • warning

      removed the request property

    • info

      added the new optional header request parameter Prefer

    • info

      added the new optional query request parameter no_embed