Certificates

Upload certificate

Upload a certificate to the organization. This does not automatically activate the certificate.

Organizations can upload up to 50 certificates.

post/organization/certificates

Request body

namestring

An optional name for the certificate

certificatestring required

The certificate content in PEM format

Response

Certificate uploaded successfully.

object'certificate' | 'organization.certificate' | 'organization.project.certificate' required

The object type.

  • If creating, updating, or getting a specific certificate, the object type is certificate.
  • If listing, activating, or deactivating certificates for the organization, the object type is organization.certificate.
  • If listing, activating, or deactivating certificates for a project, the object type is organization.project.certificate.
idstring required

The identifier, which can be referenced in API endpoints

namestring nullable required

The name of the certificate.

created_atinteger required

The Unix timestamp (in seconds) of when the certificate was uploaded.

activeboolean

Whether the certificate is currently active at the specified scope. Not returned when getting details for a specific certificate.

Changes

Changed in 5 of the 163 revisions of this API.216

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

  • 74cbcf73838f211See the full diff
    • ▲

      added the new required request property

      new-required-request-property

    • ▲

      response property name list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ●

      removed the request property

      request-property-removed

    • ○

      the endpoint scheme security AdminApiKeyAuth was added to the API

      api-security-added

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      endpoint added

      endpoint-added

    This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog