v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
CustomHostnames

Create a new custom hostname for this environment

post/environments/{environmentId}/custom/hostnames

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

Request body

hostnamestring required
usage'cookies' | 'globalWallet' required

Example request

{
  "hostname": "auth.dynamic.xyz"
}

Response

Successfully created

idstring required
hostnamestring required
usage'cookies' | 'globalWallet' required
status'active' | 'pending' | 'error' required
errorsstring

Example response

{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "hostname": "auth.dynamic.xyz"
}