Skip to main content
POST
Create Origin Rule

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

domain_id
string<uuid>
required

Body

application/json
target_subdomain
string
required

The tenant's target subdomain to route traffic to.

Response

Successful Response

id
string<uuid>
required
domain_id
string<uuid>
required
rule_id
string | null
required
status
enum<string>
required
Available options:
pending,
active,
failed
enabled
boolean
required
rollback_data
Rollback Data · object | null
required