---
title: "UpdateSiteRedirectRequest"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.hostedez.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Hosted EZ REST API

## Fields

- `UpdateSiteRedirectRequest.enabled` (boolean, optional)
- `UpdateSiteRedirectRequest.matchType` (string, optional)
  - one of `"exact"`, `"prefix"`
- `UpdateSiteRedirectRequest.preserveQuery` (boolean, optional)
- `UpdateSiteRedirectRequest.sourcePath` (string, optional)
  - minLength 1; maxLength 512
- `UpdateSiteRedirectRequest.statusCode` (integer, optional)
  - one of `301`, `302`, `307`, `308`
- `UpdateSiteRedirectRequest.targetUrl` (string, optional)
  - minLength 1; maxLength 2048


Source: https://docs.hostedez.com/api/schemas/UpdateSiteRedirectRequest/index.md
