Policy > Networking > Network Services > Advanced Load Balancing > Alb Error Page Bodies

Create or update a ALBerrorpagebody

If a ALBerrorpagebody with the alb-errorpagebody-id is not already present,
create a new ALBerrorpagebody. If it already exists, update the
ALBerrorpagebody. This is a full replace.
This API is only available when using VMware NSX-T.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/alb-error-page-bodies/<alb-errorpagebody-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBErrorPageBody+

Example Request:

{ "error_page_body": "\n\n\n\n Avi test\n\n\n\n\n

This is test error page sample.

\n

To create error page body:

\n\n\n\n \n", "format": "ERROR_PAGE_FORMAT_HTML", "name": "test-error-page" }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: