Skip to content

Commit f67ce96

Browse files
Merge pull request #249253 from Blackmist/registry-rest-api-note
adding note, fixing typo
2 parents a3d3c6a + 60dfb4e commit f67ce96

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/machine-learning/how-to-manage-registries.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.subservice: mlops
88
ms.author: kritifaujdar
99
author: fkriti
1010
ms.reviewer: larryfr
11-
ms.date: 05/23/2023
11+
ms.date: 08/24/2023
1212
ms.topic: how-to
1313
ms.custom: ignite-2022, build-2023
1414
---
@@ -148,7 +148,11 @@ The response should provide an access token good for one hour. Make note of the
148148
```
149149

150150
To create a registry, use the following command. You can edit the JSON to change the inputs as needed. Replace the `<YOUR-ACCESS-TOKEN>` value with the access token retrieved previously:
151-
151+
152+
> [!TIP]
153+
> We recommend using the latest API version when working with the REST API. For a list of the current REST API versions for Azure Machine Learning, see the [Machine Learning REST API reference](/rest/api/azureml/). The current API versions are listed in the table of contents on the left side of the page.
154+
155+
```bash
152156
```bash
153157
curl -X PUT https://management.azure.com/subscriptions/<your-subscription-id>/resourceGroups/<your-resource-group>/providers/Microsoft.MachineLearningServices/registries/reg-from-rest?api-version=2023-04-01 -H "Authorization:Bearer <YOUR-ACCESS-TOKEN>" -H 'Content-Type: application/json' -d '
154158
{
@@ -233,7 +237,7 @@ Decide if you want to allow users to only use assets (models, environments and c
233237

234238
### Allow users to use assets from the registry
235239

236-
To let a user only read assets, you can grant the user the built-in __Reader__ role. If don't want to use the built-in role, create a custom role with the following permissions
240+
To let a user only read assets, you can grant the user the built-in __Reader__ role. If you don't want to use the built-in role, create a custom role with the following permissions
237241

238242
Permission | Description
239243
--|--

0 commit comments

Comments
 (0)