Edit domain

You can always change the domain name settings. This example will show you how to do that.

To edit domain, perform the following steps:

  1. Get API Key. how to get the key?

  2. Get a list of your domains and select one of them. How do I get a list of domains?

  3. Use the following method from our API Edit domain

Example of successful execution of a request:

{
    "id": "6683a91b19erd56a69f716",
    "domain": "some.com",
    "useTls": false,
    "approved": true,
    "prioritized": false,
    "linkEnabled": true,
    "prefix": "/some/new/prefix/"
}

Last updated