Returns the partially random string used when generating host names for the authenticated account.
Required permission
Project > Projects > Manage > Read
Response body
- {object}Response object.
data
{object} requiredResult data.dns
string requiredThe partially random string associated with the authenticated account, used for generating DNS entries.
GET /v1/dns-id
GET /v1/teams/{teamId}/dns-id
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request GET \
"https://api.northflank.com/v1/dns-id"Example response
200 OK
Data about the DNS ID.
JSON
{
"data": {
"dns": "exam-1234"
}
}