Function domains
Function domains: 3 operations, tagged function-domains in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/function-domains |
List claimed hostname zones |
POST |
/api/function-domains |
Claim a hostname zone for a client (or the platform) |
DELETE |
/api/function-domains/{id} |
Release a claimed zone |
Operations
Section titled “Operations”GET /api/function-domains
Section titled “GET /api/function-domains”List claimed hostname zones
Operation ID: listFunctionDomains
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
clientId |
query | string | no | Filter by owning client id |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json DomainResponse[] |
default |
Error | application/json ErrorModel |
POST /api/function-domains
Section titled “POST /api/function-domains”Claim a hostname zone for a client (or the platform)
Operation ID: createFunctionDomain
Request body (required)
| Content type | Schema |
|---|---|
application/json |
CreateDomainRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json CreatedResponse |
default |
Error | application/json ErrorModel |
DELETE /api/function-domains/{id}
Section titled “DELETE /api/function-domains/{id}”Release a claimed zone
Operation ID: deleteFunctionDomain
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”CreateDomainRequest
Section titled “CreateDomainRequest”| Field | Type | Required | Description |
|---|---|---|---|
clientId |
string | no | Omitted claims a platform-owned zone (anchor only) |
zone |
string | yes | The claimed hostname zone (e.g. “acme.example.com”) |
CreatedResponse
Section titled “CreatedResponse”| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes |
DomainResponse
Section titled “DomainResponse”| Field | Type | Required | Description |
|---|---|---|---|
clientId |
string | no | |
createdAt |
string (date-time) | yes | |
createdBy |
string | no | |
id |
string | yes | |
updatedAt |
string (date-time) | yes | |
zone |
string | yes |