Skip to main content
Domain Forwarding2026.8.0

Update domain forwarding configuration

Creates or updates the URL forwarding configuration for a domain.

PUT/api/v1/spaces/assets/domains/{domain}/forwarding

The source export uses a local development server. Examples use the configured Dashio API origin.

The export references authentication schemes without supplying their definitions.

Authentication

bearerAuth

Understand authentication

Path parameters

domainstringRequired

Domain name in FQDN format

Query parameters

None declared in this export.

Header parameters

None declared in this export.

Request body

application/json · Required

target_urlstring (uri)Required

The destination URL to redirect to

redirect_typeintegerRequired

HTTP redirect status code Allowed values: 301, 302.

preserve_pathbooleanOptional

Whether to append the original path to the target URL

preserve_query_stringbooleanOptional

Whether to preserve query parameters in the redirect

Responses

200

Forwarding configuration updated successfully

forwardingobjectOptional

No field description supplied.

400

Invalid request body

No response body schema supplied.

401

Unauthenticated

No response body schema supplied.

404

Domain not found

No response body schema supplied.

Was this helpful?