Policy > Networking > Network Services > Advanced Load Balancing > Alb Webhooks

Create or update a ALBWebhook

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

Example Request:

{ "name": "test-webhook", "verification_token": "www.test.com" }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ALBWebhook+

Example Response:

{ "_create_time": 1598509011318, "_create_user": "admin", "_last_modified_time": 1598509011322, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-webhook", "id": "test-webhook", "marked_for_delete": false, "name": "test-webhook", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-webhooks/test-webhook", "relative_path": "test-webhook", "resource_type": "ALBWebhook", "unique_id": "2b675a18-7321-4bb5-9228-54f928a98e6d", "verification_token": "www.test.com" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: