Redirects
Manage HTTP redirect rules programmatically using the Redirects API for your zones.
Organization UUID
The UUID of the zone
Schema for creating a new redirect
Source URL without schema (e.g., example.com/path)
Target URL (schema optional, defaults to https)
Redirect type enumeration
Path forwarding mode enumeration
Forward query parameters
falseEnable HTTPS for the redirect
falseForce HTTPS (requires enable_https to be true)
falseTags for categorization
Successful Response
Wrapper model for RedirectResponse with status field
trueConflict - DNS record conflicts found
POST /api/v1/automation/{org_uuid}/redirects/zones/{zone_id} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 182
{
"source_url": "text",
"target_url": "text",
"redirect_type": "permanent",
"path_forwarding_mode": "all",
"query_forwarding": false,
"enable_https": false,
"enforce_https": false,
"tags": [
"text"
]
}{
"status": true,
"data": {
"id": "text",
"configuration_id": "text",
"domain": "text",
"path": "text",
"source_url": "text",
"target_url": "text",
"redirect_type": "permanent",
"path_forwarding_mode": "all",
"query_forwarding": true,
"https_enabled": true,
"https_forced": true,
"ssl_certificate_id": "text",
"tags": [
"text"
],
"create_date": "2026-01-01T00:00:00.000Z",
"update_date": "2026-01-01T00:00:00.000Z"
}
}Organization UUID
The UUID of the zone
Successful Response
Response for listing redirects
trueGET /api/v1/automation/{org_uuid}/redirects/zones/{zone_id} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Successful Response
{
"status": true,
"data": [
{
"id": "text",
"configuration_id": "text",
"domain": "text",
"path": "text",
"source_url": "text",
"target_url": "text",
"redirect_type": "permanent",
"path_forwarding_mode": "all",
"query_forwarding": true,
"https_enabled": true,
"https_forced": true,
"ssl_certificate_id": "text",
"tags": [
"text"
],
"create_date": "2026-01-01T00:00:00.000Z",
"update_date": "2026-01-01T00:00:00.000Z"
}
]
}Organization UUID
The UUID of the redirect
Successful Response
Wrapper model for RedirectResponse with status field
trueRedirect not found
GET /api/v1/automation/{org_uuid}/redirects/{redirect_id} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"status": true,
"data": {
"id": "text",
"configuration_id": "text",
"domain": "text",
"path": "text",
"source_url": "text",
"target_url": "text",
"redirect_type": "permanent",
"path_forwarding_mode": "all",
"query_forwarding": true,
"https_enabled": true,
"https_forced": true,
"ssl_certificate_id": "text",
"tags": [
"text"
],
"create_date": "2026-01-01T00:00:00.000Z",
"update_date": "2026-01-01T00:00:00.000Z"
}
}Organization UUID
The UUID of the redirect
Schema for updating an existing redirect
Target URL
Redirect type enumeration
Path forwarding mode enumeration
Query forwarding enabled
Enable HTTPS
Force HTTPS (requires enable_https to be true)
Tags for categorization
Successful Response
Wrapper model for RedirectResponse with status field
trueConflict - DNS record conflicts found
PUT /api/v1/automation/{org_uuid}/redirects/{redirect_id} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 159
{
"target_url": "text",
"redirect_type": "permanent",
"path_forwarding_mode": "all",
"query_forwarding": true,
"enable_https": true,
"enforce_https": true,
"tags": [
"text"
]
}{
"status": true,
"data": {
"id": "text",
"configuration_id": "text",
"domain": "text",
"path": "text",
"source_url": "text",
"target_url": "text",
"redirect_type": "permanent",
"path_forwarding_mode": "all",
"query_forwarding": true,
"https_enabled": true,
"https_forced": true,
"ssl_certificate_id": "text",
"tags": [
"text"
],
"create_date": "2026-01-01T00:00:00.000Z",
"update_date": "2026-01-01T00:00:00.000Z"
}
}Organization UUID
The UUID of the redirect
Successful Response
Redirect not found
DELETE /api/v1/automation/{org_uuid}/redirects/{redirect_id} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"status": true,
"message": "text"
}Organization UUID
Number of records to skip for pagination
0Maximum number of records to return
100Successful Response
Response for listing redirects
trueGET /api/v1/automation/{org_uuid}/redirects HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Successful Response
{
"status": true,
"data": [
{
"id": "text",
"configuration_id": "text",
"domain": "text",
"path": "text",
"source_url": "text",
"target_url": "text",
"redirect_type": "permanent",
"path_forwarding_mode": "all",
"query_forwarding": true,
"https_enabled": true,
"https_forced": true,
"ssl_certificate_id": "text",
"tags": [
"text"
],
"create_date": "2026-01-01T00:00:00.000Z",
"update_date": "2026-01-01T00:00:00.000Z"
}
]
}Last updated
Was this helpful?