Update domain forwarding configuration
Creates or updates the URL forwarding configuration for a domain.
/api/v1/spaces/assets/domains/{domain}/forwardingThe 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 authenticationPath parameters
domainstringRequiredDomain 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)RequiredThe destination URL to redirect to
redirect_typeintegerRequiredHTTP redirect status code Allowed values: 301, 302.
preserve_pathbooleanOptionalWhether to append the original path to the target URL
preserve_query_stringbooleanOptionalWhether to preserve query parameters in the redirect
Responses
200
Forwarding configuration updated successfully
forwardingobjectOptionalNo 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?