Tenants - List

Gets the tenants for your account.

GET https://management.azure.com/tenants?api-version=2016-06-01

URI Parameters

Name In Required Type Description
api-version
query True
  • string

The API version to use for the operation.

Responses

Name Type Description
200 OK

OK - Returns an array of tenants.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Definitions

TenantIdDescription

Tenant Id information.

TenantListResult

Tenant Ids information.

TenantIdDescription

Tenant Id information.

Name Type Description
id
  • string

The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000.

tenantId
  • string

The tenant ID. For example, 00000000-0000-0000-0000-000000000000.

TenantListResult

Tenant Ids information.

Name Type Description
nextLink
  • string

The URL to use for getting the next set of results.

value

An array of tenants.