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
{
"createdDomains": [
{
"id": "cm7xb7odb000410k0w5m3ldr5",
"name": "app.example.com"
},
{
"id": "cm7lm3g0h0002127peb5n54k1",
"name": "www.example.com"
}
]
}