NSX-T Data Center REST API
Create or update a ALBerrorpageprofile (Deprecated)
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 is a deprecated API. It is recommennded to use NSX Advanced Load Balancer (Avi) Controller UI or API directly instead of NSX-T ALB Policy UI and API.
This API is only available when using VMware NSX.
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