Creates and configures a new URL redirect.
Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
The destination URL, where the target URL should be redirected if it matches the routePrefix.
The type of redirect to create. Options include: 301 (permanent), 302 (temporary), or 305 (proxy).
The target incoming URL, path, or pattern to match for redirection.
Whether the routePrefix should match on the entire URL, including the domain.
Whether the routePrefix should match on the entire URL path, including the query string.
Whether the URL redirect mapping should apply only if a live page on the URL isn't found. If False, the URL redirect mapping will take precedence over any existing page.
Whether the routePrefix should match based on pattern.
Whether the routePrefix should match both HTTP and HTTPS protocols.
Whether a trailing slash will be ignored.
Used to prioritize URL redirection. If a given URL matches more than one redirect, the one with the lower precedence will be used.
successful operation
The destination URL, where the target URL should be redirected if it matches the routePrefix.
The unique ID of this URL redirect.
Whether the routePrefix should match on the entire URL, including the domain.
Whether the routePrefix should match on the entire URL path, including the query string.
Whether the URL redirect mapping should apply only if a live page on the URL isn't found. If False, the URL redirect mapping will take precedence over any existing page.
Whether the routePrefix should match based on pattern.
Whether the routePrefix should match both HTTP and HTTPS protocols.
Whether a trailing slash will be ignored.
Used to prioritize URL redirection. If a given URL matches more than one redirect, the one with the lower precedence will be used.
The target incoming URL, path, or pattern to match for redirection.
The date and time when the URL mapping was initially created.
The date and time when the URL mapping was last modified.