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

Alb Auth Token API calls to Avi Controller.

Passthorugh API calls to Avi controller using the Auth of policy API
request send to this API will be passthrough to Avi controller and
Avi controller response will be embedded for this API.
This API is only available when using VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/alb-auth-token
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBAuthToken+

Example Request:

{ "username" : "nsxt-alb", "hours" : "5" }

Successful Response:

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

Example Response:

{ "token": "ca632c40a19ab7b124f57ee4f3972433165fab57", "expires_at": "2021-08-06T00:37:30.116Z" }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: