System Administration >
Settings
>
User Management
>
Access Token
Create registration access token
The privileges of the registration token will be the same as the caller.
Request:
Method:
POST
URI Path(s):
/policy/api/v1/aaa/registration-token
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
POST https://<nsx-mgr>/api/v1/aaa/registration-token
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
RegistrationToken
+
RegistrationToken
(
schema
)
Name
Description
Type
Notes
roles
List results
array of string
Required
token
Access token
string
Required
user
User delegated by token
string
Example Response:
{ "token": "e9112e46-a54a-486f-82bb-043b89228c1b", "roles":[ "network_engineer" ] }
Required Permissions:
crud
Feature:
nodes_edges
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable