Add Domains To A Domain Group
Adds one or more domains to an existing domain certificate group.
API Description
Full Endpoint URL: https://api.flightcontrol.dev/v1/domain-certificate-groups/{domainGroupId}/domains
Method | Path |
---|---|
POST | /v1/domain-certificate-groups/{domainGroupId}/domains |
Headers | |
---|---|
Authorization | Bearer [API key] |
Path Parameters
Parameter | Type | Description |
---|---|---|
domainGroupId | string | The unique CUID of the domain group. |
Request Body
Parameter | Required | Type | Description |
---|---|---|---|
domains | Yes | string[] | List of domains to be added to the group. |
Request Example
{
"domains": ["www.example.com"]
}
Response Example
{
"domains": [
{
"id": "cm7lo7phc000712ptf9oc7q0k",
"fcAttachmentId": "cm7lo7pi9000912ptce0a6be1",
"name": "www.example.com",
"status": "PENDING",
"type": "SUBDOMAIN",
"dnsRecords": []
}
]
}