[{"label":"Latest (1.0)","version":"latest"}]
customer-connect
Get Entitlement Accounts
DescriptionThis API returns all the Entitlement Accounts associated to an user. This is similar to entitlement account dropdown available on License-Management on Users-Permissions page.
Request
URLURL
https://apigw.vmware.com/v1/m4/api/myvmware/entitlements/accounts
Header Parameters
Header Parameters
string
Authorization
Required
Bearer Access Token Generated using API Key
Authorization example
"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
EntitlementAccountsResponse
of type application/json
All the Entitlement Accounts returned successfully.
{
"userType": "Established"
}
string
userType
Optional
Type of User i.e. PROSPECT or ESTABLISHED
Errors
ErrorResponse
400
Either request is not valid or input validation has failed.
ErrorResponse
401
Access Token is not valid or expired.
ErrorResponse
500
Server error while getting the details.
Code Samples
cURL Command
curl -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" https://apigw.vmware.com/v1/m4/api/myvmware/entitlements/accounts
[{"label":"Latest (1.0)","version":"latest"}]
customer-connect