**Version: 202601**

# Update URL redirect

**PUT** `/openapi/2026-01/redirects/:id`

Update the details of an existing url redirect using its unique identifier.

## Request

**Path Parameters**

- `id` int64 (required)

  Redirect ID

**application/json**

**Body | Example**

**Body (required)**

- `redirect` object (required)

  The URL redirect to be updated

  - `from_url` string (required)

    The original URL to be redirected
  - `redirect_url` string (required)

    The target URL for the redirection
  - `status` string (required)

    Status of the redirect (open or close)

```json
{
  "redirect": {
    "from_url": "string",
    "redirect_url": "string",
    "status": "string"
  }
}
```

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `` object

```json
{
  "code": "string",
  "message": "string",
  "data": {}
}
```
