Forward a host to a URL
Redirects the domain itself or one subdomain to any URL, with 301 or 302, keeping the request's path when `keepPath` is set. Only for a domain registered through Cloady on Automatic DNS; the host must not serve an app or carry its own A, AAAA or CNAME records. Needs the developer role.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/workspaces/string/domains/string/forwards" \ -H "Content-Type: application/json" \ -d '{ "to": "string" }'{ "forwards": [ { "id": "string", "from": "string", "to": "string", "code": "301", "keepPath": true } ]}List a domain's URL forwards GET
The redirects of a domain registered through Cloady on Automatic DNS: each sends a host on the domain to a URL over HTTP and HTTPS.
Remove a URL forward DELETE
Removes a redirect; a forward of the domain itself points the domain back at Cloady. Needs the developer role.