[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
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.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
On This Page
Auth Operations
post
post
post
put
post
Create Scope
Introduced
post
post
post
delete
delete
Delete Scopes
Introduced
delete
delete
delete
delete
delete
get
Get All Object Scopes
Introduced
get
get
get
get
get
get
Get Scope
Introduced
get
get
get
get
post
put
Modify Scope
Introduced
put
patch
post
delete
put
Synchronize User Groups
Changed
post
put