Skip to main content

Custom Error Page

This setting is available for all resource types.

 Parameters

 Description

 Type

 Required

organization_uuid

The created organization in Medianova Cloud Panel unit ID value. Path parameter.

String

Yes

resource_uuid

The created resource in Medianova Cloud Panel unit ID value. Path parameter.

String

Yes

custom_error_pages_status

Determines whether custom error pages are enabled or not.

Boolean

Yes

custom_error_pages

An array defining custom error pages.

Array

Yes

custom_error_pages.status_code

Specifies the HTTP status code in the range of 400-599.

Integer

Yes

custom_error_pages.url

Represents the URL to which the redirection will be made for the specified status code.

String, URL

Yes

custom_error_pages.redirect_status_code

Specifies the supported redirection status code, such as 301 or 302.

Integer

Yes

Payload

CODE
{
 "resource_uuid":"*****-***-***-***",
 "custom_error_pages_status":true,
 "custom_error_pages": [
   {
     "status_code": 404,
     "url": "https://my.domain.com/404.html",
     "redirect_status_code": "302"
   }
 ]
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.