Tenants - Get
Gets tenant details by ID.
GET https://prod.core.sphere.azure.net/v2/tenants/{tenantId}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
tenant
|
path | True |
string |
The Azure Sphere tenant ID. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success. |
Examples
Get tenant details
Sample request
GET https://prod.core.sphere.azure.net/v2/tenants/768c2cd6-1bf0-4521-9f53-084a331d81cb
Sample response
{
"Id": "768c2cd6-1bf0-4521-9f53-084a331d81cb",
"Name": "ContosoTenant",
"Roles": [
"Administrator",
"Contributor"
]
}
Definitions
TenantIdentity
Name | Type | Description |
---|---|---|
Id |
string |
Gets the Id of the tenant. |
Name |
string |
Get the friendly name of the tenant. |
Roles |
string[] |
Get the roles of the user in the tenant. |