[{"label":"Latest (1.0)","version":"latest"}]
customer-connect

Get Entitlement Accounts

Description

This 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

Request

URL

URL


get
https://apigw.vmware.com/v1/m4/api/myvmware/entitlements/accounts
Copy

Header Parameters

Header Parameters

string
Authorization Required

Bearer Access Token Generated using API Key

Authorization example
"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns EntitlementAccountsResponse of type application/json

All the Entitlement Accounts returned successfully.

{
    "userType": "Established"
}
accntList Optional

List of Entitlement Accounts associated to user


string
userType Optional

Type of User i.e. PROSPECT or ESTABLISHED

Errors

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

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
Feedback

Was this page helpful?