v52

OpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
Domains: Forwarding

Update domain forwarding

Update domain forwarding configuration.

Use this endpoint to modify existing redirect configuration for domains.

put/api/domains/v1/forwarding/{domain}

Path parameters

domainstring required
Example:mydomain.tld

Domain name

Request body

redirect_type'301' | '302' required

Redirect type

redirect_urlstring required

URL to forward domain to

Example request

{
  "redirect_type": "301",
  "redirect_url": "https://forward.to.my.url"
}

Response

Success response

domainstring nullable

Domain name

redirect_type'301' | '302'

Redirect type

redirect_urlstring

URL domain is forwarded to

created_atstring date-time
updated_atstring date-time nullable

Example response

{
  "domain": "mydomain.tld",
  "redirect_type": "301",
  "redirect_url": "https://forward.to.my.url",
  "created_at": "2025-02-27T11:54:22Z",
  "updated_at": "2025-03-27T11:54:22Z"
}