Skip to content

Commit 066c4d7

Browse files
Merge pull request #3775 from mrbullwinkle/mrb_03_27_2025_update_global_batch
[Azure OpenAI] Fix command
2 parents 5407394 + d5b7367 commit 066c4d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/openai/includes/batch/batch-rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/files/{output_file_id}/c
240240
Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file.
241241

242242
```http
243-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/batches/{batch_id}/cancel?api-version=2024-10-21 \
243+
curl -X POST https://YOUR_RESOURCE_NAME.openai.azure.com/openai/batches/{batch_id}/cancel?api-version=2024-10-21 \
244244
-H "api-key: $AZURE_OPENAI_API_KEY"
245245
```
246246

0 commit comments

Comments
 (0)