[{"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
map[code:"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.
{
"accntList": [
{
"eaName": "VMware Entitlement",
"eaNumber": "12345678.000000",
"isDefault": "Y"
}
],
"userType": "Established"
}
string
userType
Optional
Type of User i.e. PROSPECT or ESTABLISHED
Errors
Code Samples
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