Get DNS ID | Miscellaneous | Northflank API docs
v1
Double column
API
CLI
JS Client

Miscellaneous /

Get DNS ID

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} required

      Result data.

      • dns

        string required

        The partially random string associated with the authenticated account, used for generating DNS entries.

API
CLI
JS Client

GET /v1/dns-id

Example response

200 OK

Data about the DNS ID.

JSON

{
  "data": {
    "dns": "exam-1234"
  }
}

© 2024 Northflank Ltd. All rights reserved.