You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/translator/reference/v3-0-reference.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,9 @@ An authentication token is valid for 10 minutes. The token should be reused when
187
187
188
188
:::image type="content" source="../media/managed-identities/resource-id-property.png" alt-text="Screenshot:Translator properties page in the Azure portal. ":::
189
189
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
+
190
193
### **Examples**
191
194
192
195
#### **Using the global endpoint**
@@ -202,10 +205,6 @@ curl -X POST "https://api.cognitive.microsofttranslator.com/translate?api-versio
202
205
-data-raw "[{'Text':'Hello, friend.'}]"
203
206
```
204
207
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.
0 commit comments