Zum Hauptinhalt springen

List Certificates belonging to a Project or an Ingress

GET/certificates/
v2
GET
ssl-list-certificates

Request

Responses

application/json

OK

  • Array[
  • *object
    • caBundlestring
    • certificatestring
      required
    • certificateOrderIdstring (uuid)
    • certificateRequestIdstring (uuid)
      required
    • certificateTypeinteger (one of: 0, 1, 2)
      required
    • commonNamestring
    • contactobject
      • citystring
      • companystring
      • countrystring

        Two letter abbreviation - country code (ISO 3166-1 Alpha-2).

      • organizationalUnitstring
      • statestring
    • dnsNamesarray of string
      • Array[
      • *string
      • ]
  • idstring (uuid)
    required
  • isExpiredboolean
    required
  • issuerstring
  • lastExpirationThresholdHitinteger
    required
  • projectIdstring (uuid)
    required
  • validFromstring (date-time)
    required
  • validTostring (date-time)
    required
]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/certificates?projectId=f0f86186-0a5a-45b2-aa33-502777496347&ingressId=f0f86186-0a5a-45b2-aa33-502777496347