Redirect

List Zone Redirects

get
Authorizations
Path parameters
org_uuidstringRequired

Organization UUID

zone_idstringRequired

The UUID of the zone

Responses
200

Successful Response

application/json
get
GET /api/v1/automation/{org_uuid}/redirects/zones/{zone_id} HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

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": "2025-10-06T22:24:21.706Z",
      "update_date": "2025-10-06T22:24:21.706Z"
    }
  ]
}

Create Redirect

post
Authorizations
Path parameters
org_uuidstringRequired

Organization UUID

zone_idstringRequired

The UUID of the zone

Body

Schema for creating a new redirect

source_urlstringRequired

Source URL without schema (e.g., example.com/path)

target_urlstringRequired

Target URL (schema optional, defaults to https)

redirect_typestring · enumOptional

Redirect type enumeration

Possible values:
path_forwarding_modestring · enumOptional

Path forwarding mode enumeration

Possible values:
query_forwardingbooleanOptional

Forward query parameters

Default: false
enable_httpsbooleanOptional

Enable HTTPS for the redirect

Default: false
enforce_httpsbooleanOptional

Force HTTPS (requires enable_https to be true)

Default: false
tagsstring[]Optional

Tags for categorization

Responses
200

Successful Response

application/json
post
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": "2025-10-06T22:24:21.706Z",
    "update_date": "2025-10-06T22:24:21.706Z"
  }
}

Get Redirect

get
Authorizations
Path parameters
org_uuidstringRequired

Organization UUID

redirect_idstringRequired

The UUID of the redirect

Responses
200

Successful Response

application/json
get
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": "2025-10-06T22:24:21.706Z",
    "update_date": "2025-10-06T22:24:21.706Z"
  }
}

Update Redirect

put
Authorizations
Path parameters
org_uuidstringRequired

Organization UUID

redirect_idstringRequired

The UUID of the redirect

Body

Schema for updating an existing redirect

target_urlstringOptional

Target URL

redirect_typestring · enumOptional

Redirect type enumeration

Possible values:
path_forwarding_modestring · enumOptional

Path forwarding mode enumeration

Possible values:
query_forwardingbooleanOptional

Query forwarding enabled

enable_httpsbooleanOptional

Enable HTTPS

enforce_httpsbooleanOptional

Force HTTPS (requires enable_https to be true)

tagsstring[]Optional

Tags for categorization

Responses
200

Successful Response

application/json
put
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": "2025-10-06T22:24:21.706Z",
    "update_date": "2025-10-06T22:24:21.706Z"
  }
}

Delete Redirect

delete
Authorizations
Path parameters
org_uuidstringRequired

Organization UUID

redirect_idstringRequired

The UUID of the redirect

Responses
200

Successful Response

application/json
delete
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"
}

List Organization Redirects

get
Authorizations
Path parameters
org_uuidstringRequired

Organization UUID

Query parameters
skipintegerOptional

Number of records to skip for pagination

Default: 0
limitintegerOptional

Maximum number of records to return

Default: 100
Responses
200

Successful Response

application/json
get
GET /api/v1/automation/{org_uuid}/redirects HTTP/1.1
Host: cloud.medianova.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

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": "2025-10-06T22:24:21.706Z",
      "update_date": "2025-10-06T22:24:21.706Z"
    }
  ]
}

Was this helpful?