Skip to content

Commit bdb346c

Browse files
authored
Merge pull request #106131 from jimmyliao/main
Update managed-identity.md
2 parents 42dd5d2 + fef19ad commit bdb346c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cognitive-services/openai/how-to/managed-identity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Assigning yourself to the Cognitive Services User role will allow you to use you
6565
Use the access token to authorize your API call by setting the `Authorization` header value.
6666
6767
```bash
68-
curl ${endpoint%/}/openai/deployment/YOUR_DEPLOYMENT_NAME/completions?api-version=2022-12-01 \
68+
curl ${endpoint%/}/openai/deployments/YOUR_DEPLOYMENT_NAME/completions?api-version=2022-12-01 \
6969
-H "Content-Type: application/json" \
7070
-H "Authorization: Bearer $accessToken" \
7171
-d '{ "prompt": "Once upon a time" }'
@@ -85,4 +85,4 @@ Before you can use managed identities for Azure resources to authorize access to
8585
- [Azure Resource Manager template](../../../active-directory/managed-identities-azure-resources/qs-configure-template-windows-vm.md)
8686
- [Azure Resource Manager client libraries](../../../active-directory/managed-identities-azure-resources/qs-configure-sdk-windows-vm.md)
8787
88-
For more information about managed identities, see [Managed identities for Azure resources](../../../active-directory/managed-identities-azure-resources/overview.md).
88+
For more information about managed identities, see [Managed identities for Azure resources](../../../active-directory/managed-identities-azure-resources/overview.md).

0 commit comments

Comments
 (0)