[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations
Acquire Token
DescriptionPerforming a POST /api/auth/token/acquire
would yield a response object that includes token and its validity.
HTTP Status 401 will be sent back if the authentication operation has failed.
NOTE: The validity of the acquired token is extended after each call and is set to 6 hours from the last call.
Request
URLURL
https://localhost/suite-api/api/auth/token/acquire
Request Body
Request Body
username-password
of type(s) application/json, application/xml
Required
The UsernamePassword object that encapsulates username, password and optionally the name of an Auth Source as specified by the user
Response
Response
Response BodyResponse Body
200 OK returns
AuthToken
of type(s) application/json, application/xml
The token and expiry time of the token
Errors
401
Authentication failed
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"authSource":"string","password":"string","username":"string"}' https://localhost/suite-api/api/auth/token/acquire
[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations
On This Page
Auth Operations
post
post
post
put
post
post
post
delete
delete
delete
delete
delete
delete
get
get
get
get
get
get
get
get
get
post
put
patch
post
delete
post
put