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:
PUT
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:
Content-type: application/json
Response Body:
ALBErrorPageBody+

Example Response:

{ "_create_time": 1598508407784, "_create_user": "admin", "_last_modified_time": 1598508407828, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-error-page", "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", "id": "test-error-page", "marked_for_delete": false, "name": "test-error-page", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-error-page-bodies/test-error-page", "relative_path": "test-error-page", "resource_type": "ALBErrorPageBody", "unique_id": "8c1daee8-1633-4fe2-b682-ad3565314df0" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: