Zum Inhalt springen

Command: create a named IP source.

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

Created source host.

Media typeapplication/json

Named IP source of a project (DOMAIN 15).

object
id
string format: uuid
projectId
string format: uuid
name
string
ipv4
Array<string>
ipv6
Array<string>
updatedAt
string format: date-time
Examplegenerated
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"projectId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"ipv4": [
"example"
],
"ipv6": [
"example"
],
"updatedAt": "2026-04-15T12:00:00Z"
}