Skip to main content

Get tenants

Contributors netapp-ranuk dmp-netapp

You can retrieve a list of tenants visible to the user currently signed in through the account workspace.

1. Get the account identifier

Perform the workflow Get supported services to retrieve the account ID.

Note You can also get the account identifier through the BlueXP web UI. See Get required identifiers for more information.

2. Get the account workspace

HTTP method Resource path



curl example
curl --location --request GET "<ACCOUNT_ID>/workspace" --header 'Content-Type: application/json' --header 'Authorization: Bearer <ACCESS_TOKEN>'
Input parameters

Path parameter with the account ID.


The JSON output example shows the list of tenants.

JSON output example
        "workspacePublicId": "workspace-ced4x9X4",
        "workspaceName": "Workspace-1",
        "associatedAgents": []