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

Create or update a ALBerrorpageprofile

If a ALBerrorpageprofile with the alb-errorpageprofile-id is not already present,
create a new ALBerrorpageprofile. If it already exists, update the
ALBerrorpageprofile. 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-profiles/<alb-errorpageprofile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBErrorPageProfile+

Example Request:

{ "display_name": "test-error-page-1", "error_pages": [ { "enable": true, "error_page_body_path": "/infra/alb-error-page-bodies/Custom-Error-Page", "index": 0, "match": { "match_criteria": "IS_IN", "status_codes": [ 401 ] } } ] }

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: