CustomHostnames

Create a new custom hostname for this environment

post/environments/{environmentId}/custom/hostnames

Request

  • Base URL
    https://app.dynamicauth.com/api/v0
  • Auth
    none declared

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

Changes

No recorded changes to this operation across all 5 revisions of this API.