Forum Discussion
Is it possible to get Subscription name through REST API?
- Mar 17, 2019
Hi Vino55,
if I understand you need to access Azure's management Apis, for example, to list the subscriptions you can use this endpoint:
GET https://management.azure.com/subscriptions?api-version=2016-06-01
and to get information about a specific subscription you can use this endpoint
GET https://management.azure.com/subscriptions/{subscriptionId}?api-version=2016-06-01
(https://docs.microsoft.com/en-us/rest/api/resources/subscriptions/get#code-try-0)
and here is a list to the azure resource manager apis:
https://docs.microsoft.com/en-us/rest/api/resources/
Best regards.
Hi Vino55,
if I understand you need to access Azure's management Apis, for example, to list the subscriptions you can use this endpoint:
GET https://management.azure.com/subscriptions?api-version=2016-06-01
and to get information about a specific subscription you can use this endpoint
GET https://management.azure.com/subscriptions/{subscriptionId}?api-version=2016-06-01
(https://docs.microsoft.com/en-us/rest/api/resources/subscriptions/get#code-try-0)
and here is a list to the azure resource manager apis:
https://docs.microsoft.com/en-us/rest/api/resources/
Best regards.