Projects
Domains

Create custom domain

Create a new custom domain for a project (Enterprise only).

post/api/v1/projects/{project_id}/domains/custom

Path parameters

project_idstring uuid required

The unique identifier of the project

Request body

hostnamestring required

Response

Successful Response

custom_domain_idstring uuid required
project_idstring uuid required

The unique identifier of the project

organization_idstring required

The ID of an organization in Rebolt.

cloudflare_custom_hostname_idstring nullable required
hostnamestring required
status'provisioning' | 'pending' | 'pending_validation' | 'pending_issuance' | 'pending_deployment' | 'active' | 'pending_deletion' | 'moved' | 'deleted' | 'blocked' required

Status of a custom domain.

PROVISIONING is an internal status indicating the domain slot is reserved but Cloudflare registration is in progress. All other statuses map to Cloudflare's custom hostname status values.

is_activeboolean required
verification_errorsstring[] nullable required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this endpoint across all 1 revision of this API.