ReferenceFlightcontrol APICustom DomainsGet All Domain Certificate Groups

Get Domain Certificate Groups

Retrieves a list of domain certificate groups associated with a service.

API Description

Full Endpoint URL: https://api.flightcontrol.dev/v1/services/{serviceId}/domain-certificate-groups

MethodPath
GET/v1/services/{serviceId}/domain-certificate-groups
Headers
AuthorizationBearer [API key]

Path Parameters

ParameterTypeDescription
serviceIdstringThe unique CUID of the service.

Response Example

{
  "count": 2,
  "hasMore": false,
  "nextPage": null,
  "pageCount": 1,
  "pageSize": 100,
  "domainCertificateGroups": [
    {
      "id": "cm7enen3a00025e87424t06hr",
      "name": "Default Cloudfront",
      "status": "PROVISIONED",
      "isDefaultCertificateGroup": true,
      "cloudfrontDistributionId": "E10XRIDDHY87V6",
      "certificate": {
        "arn": "arn:aws:acm:us-east-1:289315123786:certificate/652e5eaa-c8ac-460d-a900-59439e267b4d",
        "status": "ISSUED"
      }
    },
    {
      "id": "cm7lkhpso00024ul4y3qhwwzh",
      "name": "Another domain group",
      "status": "PROVISIONING",
      "isDefaultCertificateGroup": false,
      "certificate": null,
      "cloudfrontDistributionId": null
    }
  ]
}