Skip to content

Commit 1215f10

Browse files
authored
Merge pull request #218663 from bandersmsft/ea-portal-rest-apis-11162022
MCM - EA API key update
2 parents ce87e96 + d6af90d commit 1215f10

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

articles/cost-management-billing/manage/ea-portal-rest-apis.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ title: Azure Enterprise REST APIs
33
description: This article describes the REST APIs for use with your Azure enterprise enrollment.
44
author: bandersmsft
55
ms.author: banders
6-
ms.date: 12/10/2021
6+
ms.date: 11/16/2022
77
ms.topic: conceptual
88
ms.service: cost-management-billing
99
ms.subservice: enterprise
10-
ms.reviewer: boalcsva
10+
ms.reviewer: racheg
1111
---
1212

1313
# Azure Enterprise REST APIs
@@ -34,20 +34,20 @@ Microsoft Enterprise Azure customers can get usage and billing information throu
3434

3535
Role owners can perform the following steps in the Azure EA portal. Navigate to **Reports** > **Download Usage** > **API Access Key**. Then they can:
3636

37-
- Generate primary and secondary access keys.
38-
- Disable access keys.
37+
- Generate and regenerate primary and secondary access keys.
38+
- Revoke access keys.
3939
- View start and end dates of access keys.
4040

4141
### Generate or retrieve the API Key
4242

4343
1. Sign in as an enterprise administrator.
4444
2. Select **Reports** on the left navigation window and then select the **Download Usage** tab.
4545
3. Select **API Access Key**.
46-
4. Under **Enrollment Access Keys**, select the generate key symbol to generate either a primary or secondary key.
46+
4. Under **Enrollment Access Keys**, select **regenerate** to generate either a primary or secondary key.
4747
5. Select **Expand Key** to view the entire generated API access key.
4848
6. Select **Copy** to get the API access key for immediate use.
4949

50-
![Example showing API Access Key page](./media/ea-portal-rest-apis/ea-create-generate-or-retrieve-the-api-key.png)
50+
:::image type="content" source="./media/ea-portal-rest-apis/ea-create-generate-or-retrieve-the-api-key.png" alt-text="Screenshot showing the API Access Key page." lightbox="./media/ea-portal-rest-apis/ea-create-generate-or-retrieve-the-api-key.png" :::
5151

5252
If you want to give the API access keys to people who aren't enterprise administrators in your enrollment, perform the following steps:
5353

@@ -57,7 +57,8 @@ If you want to give the API access keys to people who aren't enterprise administ
5757
4. Select the pencil symbol next to **AO view charges** (Account Owner view charges).
5858
5. Select **Enable** and then select **Save**.
5959

60-
![Example showing DA and AO view charges enabled](./media/ea-portal-rest-apis/create-ea-generate-or-retrieve-api-key-enable-ao-do-view.png)
60+
![Screenshot showing DA and AO view charges enabled.](./media/ea-portal-rest-apis/create-ea-generate-or-retrieve-api-key-enable-ao-do-view.png)
61+
6162
The preceding steps give API access key holders with access to cost and pricing information in usage reports.
6263

6364
### Pass keys in the API
@@ -67,7 +68,7 @@ Pass the API key for each call for authentication and authorization. Pass the fo
6768
| Request header key | Value |
6869
| --- | --- |
6970
| Authorization | Specify the value in this format: **bearer {API\_KEY}**
70-
Example: bearer \<APIKey\> |
71+
Example: bearer \<APIKey\> |
7172

7273
### Swagger
7374

@@ -107,7 +108,7 @@ JSON format is generated from the CSV report. As a result, the format is same as
107108
| Account Name | AccountName | AccountName | |
108109
| ServiceAdministratorId | ServiceAdministratorLiveId | ServiceAdministratorLiveId | |
109110
| SubscriptionId | SubscriptionId | SubscriptionId | |
110-
| SubscriptionGuid | MOCPSubscriptionGuid | SubscriptionGuid | |
111+
| SubscriptionGuid | MOSPSubscriptionGuid | SubscriptionGuid | |
111112
| Subscription Name | SubscriptionName | SubscriptionName | |
112113
| Date | Date | Date | Shows the date that the service catalog report ran. The format is a date string without a time stamp. |
113114
| Month | Month | Month | |
110 KB
Loading

0 commit comments

Comments
 (0)