REST API - list

vcenter vmwportal accounts: list

Gets the list of Entitlement Accounts (EA) attached to the user account on the my.vmware.com portal. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

GET https://{server}/api/vcenter/vmwportal/accounts

Response:

HTTP Status Code: 200

Response Body Structure:

[
    {
        "name""string",
        "account""obj-103"
    },
    {
        "name""string",
        "account""obj-103"
    }
]

Headers:

None

Type:

Name Type Description
bold = required
- summary[] List of accounts with account name and account ID.
-[].account string Account identifier. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.vmwportal.Account. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.vmwportal.Account.

-[].name string Account Name. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Errors:

HTTP Status Code Type Description
500 resource_inaccessible if user's my.vmware.com session has expired.
401 unauthenticated if the user can not be authenticated.
500 error if there is some unknown internal error. The accompanying error message will give more details about the error.