Zum Inhalt springen

Command: register a DynDNS target — a label plus one or more names (FQDNs in managed zones); ONE token updates A and/or AAAA for all of them (requires editor). The response carries the update token exactly once.

POST
/projects/{projectId}/dyn-hosts/create
curl --request POST \
--url https://example.com/api/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/dyn-hosts/create \
--header 'Content-Type: application/json' \
--cookie dnse_session=<dnse_session> \
--data '{ "label": "example", "names": [ "home.example.com" ] }'
projectId
required
string format: uuid
Media typeapplication/json
object
label
required

Display name of the target.

string
names
required
Array<string>

Target created; token is present only in THIS response.

Media typeapplication/json
object
id
string format: uuid
projectId
string format: uuid
label
string
names

The target’s dynamic names as FQDNs.

Array<string>
lastIPv4
string
lastIPv6
string
updatedAt

Last update call.

string format: date-time
token

Present only in the create response — shown exactly once.

string
Examplegenerated
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"projectId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"label": "example",
"names": [
"example"
],
"lastIPv4": "example",
"lastIPv6": "example",
"updatedAt": "2026-04-15T12:00:00Z",
"token": "example"
}

Malformed request.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}