POST
/
domains
/
register
Python
from dub import Dub


with Dub(
    token="DUB_API_KEY",
) as d_client:

    res = d_client.domains.register(request={
        "domain": "acme.link",
    })

    assert res is not None

    # Handle response
    print(res)
{
  "domain": "<string>",
  "status": "<string>",
  "expiration": 123
}
Domain registration is only available for certain Enterprise customers. Please contact us to get access.

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json

Response

The domain was registered.

The response is of type object.