NSX-T Data Center REST API
Create or update a ALBErrorPageProfile
If a ALBErrorPageProfile with the alb-ErrorPageProfile-id is notalready 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:
PUT
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:
Content-type: application/json
Response Body:
ALBErrorPageProfile+