v1

latestOpenAPI 3.1.02026-07-1324323188.8 KB
ProjectDomain

Creates a new domain

Use this endpoint to create a new domain in your project. Once the domain is created, it can be found in the manager.

💡 Read the documentation about how to configure a domain on the redirection.io managed instances.

post/domains

Request body

backendAddressstring nullable

The address of this backend, if there is one.

backendAllowInvalidCertificateboolean
backendEnabledboolean
backendUseSslboolean
domainstring required
projectstring iri-reference required

An IRI reference to the project, of the form /projects/{project_id}.

sslAutomaticboolean
sslEnabledboolean

Example request

{
  "project": "/projects/{projectID}"
}

Response

ProjectDomain resource created

backendAddressstring nullable required

The address of this backend, if there is one.

backendAllowInvalidCertificateboolean required
backendEnabledboolean required
backendUseSslboolean required
dnsValidboolean required
domainstring required
idstring required
sslAutomaticboolean required
sslEnabledboolean required