NSX-T Data Center REST API

Create service user object credential in ALB controller clutser

Use this API to create service user object credential in ALB controller clutser.
This API is for VCF deployments only.

Request:

Method:
POST
URI Path(s):
/policy/api/v1/alb/controller-nodes/user-credential
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBControllerUserCredential+

Example Request:

{ "user_credential_type": "VCENTER_SERVICE_USER_CREDENTIAL", "password": "Pass@123", "username": "vc-d6c00477-bd33-40fd-9e79-c6b4f0708b0a-service-user", "clustering_id": "e8abab64-774e-48fa-bd5c-41df7aefdb88" }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
ALBControllerUserCredentialResponse+

Example Response:

{ "user_credential_type": "VCENTER_SERVICE_USER_CREDENTIAL", "username": "vc-d6c00477-bd33-40fd-9e79-c6b4f0708b0a-service-user" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: