Policy > Networking > Network Services > Advanced Load Balancing > Alb Auth Profiles

Create or update a ALBAuthProfile

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

Example Request:

{ "display_name": "test-authProfile-1", "http": { "cache_expiration_time": 5 }, "ldap": { "bind_as_administrator": true, "email_attribute": "email", "full_name_attribute": "name", "port": 389, "security_mode": "AUTH_LDAP_SECURE_NONE", "server": [ "10.10.10.10" ], "settings": { "admin_bind_dn": "admin", "group_filter": "(objectClass:*)", "group_member_attribute": "member", "group_member_is_full_dn": true, "group_search_dn": "", "group_search_scope": "AUTH_LDAP_SCOPE_SUBTREE", "ignore_referrals": false, "password": "", "user_id_attribute": "admin", "user_search_dn": "", "user_search_scope": "AUTH_LDAP_SCOPE_ONE" } }, "type": "AUTH_PROFILE_LDAP" }

Successful Response:

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

Example Response:

{ "_create_time": 1604500050032, "_create_user": "admin", "_last_modified_time": 1604500050059, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-authProfile-1", "http": { "cache_expiration_time": 5 }, "id": "test-authProfile-1", "is_system_default": false, "ldap": { "bind_as_administrator": true, "email_attribute": "email", "full_name_attribute": "name", "port": 389, "security_mode": "AUTH_LDAP_SECURE_NONE", "server": [ "10.10.10.10" ], "settings": { "admin_bind_dn": "admin", "group_filter": "(objectClass=*)", "group_member_attribute": "member", "group_member_is_full_dn": true, "group_search_scope": "AUTH_LDAP_SCOPE_SUBTREE", "ignore_referrals": false, "password": "", "user_id_attribute": "admin", "user_search_dn": "", "user_search_scope": "AUTH_LDAP_SCOPE_ONE" } }, "marked_for_delete": false, "overridden": false, "parent_path": "/infra", "path": "/infra/alb-auth-profiles/test-authProfile-1", "relative_path": "test-authProfile-1", "resource_type": "ALBAuthProfile", "type": "AUTH_PROFILE_LDAP", "unique_id": "66d69332-84b7-46c4-8ffc-6b196e0e460d" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: