Skip to content

Commit 837fb3c

Browse files
authored
Update v3-0-reference.md
1 parent 4db24c6 commit 837fb3c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

articles/ai-services/translator/reference/v3-0-reference.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ An authentication token is valid for 10 minutes. The token should be reused when
187187

188188
:::image type="content" source="../media/managed-identities/resource-id-property.png" alt-text="Screenshot:Translator properties page in the Azure portal. ":::
189189

190+
> [!IMPORTANT]
191+
> Assign [**Cognitive Services User**](../../../role-based-access-control/built-in-roles/ai-machine-learning.md#cognitive-services-user) role to the service principal. By assigning this role, you're granting service principal access to the Translator resource.
192+
190193
### **Examples**
191194

192195
#### **Using the global endpoint**
@@ -202,10 +205,6 @@ curl -X POST "https://api.cognitive.microsofttranslator.com/translate?api-versio
202205
-data-raw "[{'Text':'Hello, friend.'}]"
203206
```
204207

205-
> [!IMPORTANT]
206-
> Assign [**Cognitive Services User**](../../../role-based-access-control/built-in-roles/ai-machine-learning.md#cognitive-services-user) role to the service principal. By assigning this role, you're granting service principal access to the Translator resource.
207-
208-
209208
#### **Using your custom endpoint**
210209

211210
```curl

0 commit comments

Comments
 (0)