Skip to content

Conversation

2slow4u
Copy link

@2slow4u 2slow4u commented Aug 21, 2025

Added REST API and Output call to delete response

Added REST API and Output call to delete response
@2slow4u
Copy link
Author

2slow4u commented Aug 21, 2025

@microsoft-github-policy-service agree

Copy link
Contributor

@2slow4u : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit 4eb8e7a:

⚠️ Validation status: warnings

File Status Preview URL Details
articles/ai-foundry/openai/how-to/responses.md ⚠️Warning Details

articles/ai-foundry/openai/how-to/responses.md

  • Line 334, Column 1: [Warning: invalid-tab-group - See documentation] Tab group with different tab id set.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@Court72
Copy link
Contributor

Court72 commented Aug 21, 2025

@mrbullwinkle

Can you review the proposed changes? Note that the validation warning needs to be resolved. The commits also need to be pulled into the private repo so that the new tab can be reviewed on staging. Let us know if you'd like the PR review team's help to move the commits.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged C+L Pull Request Review Team label label Aug 21, 2025
@v-dirichards
Copy link
Contributor

@mrbullwinkle Could you review this proposed update to your article and enter #sign-off in a comment if it's ready to merge?

Note that the validation warning needs to be resolved. The commits also need to be pulled into the private repo so that the new tab can be reviewed on staging. Let us know if you'd like the PR review team's help to move the commits.

Thanks!

Copy link

This pull request has been inactive for at least 14 days. If you are finished with your changes, don't forget to sign off. See the contributor guide for instructions.
Get Help
Docs Support Teams Channel
Resolve Merge Conflict

@github-actions github-actions bot added the inactive This PR is inactive for more than 14 days label Sep 17, 2025
@v-dirichards v-dirichards requested a review from Copilot October 1, 2025 21:56
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances documentation for the delete response functionality by adding REST API examples and expected output format. The changes provide developers with comprehensive examples of how to delete responses using different approaches.

  • Added REST API tab with curl example for deleting responses
  • Added Output tab showing the JSON response format when a response is successfully deleted
  • Added missing Python tab header for better documentation organization

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


```bash
curl -X DELETE https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/responses/{response_id}?api-version=preview \
-H "Content-Type: application/json" \
Copy link
Preview

Copilot AI Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Content-Type header is unnecessary for DELETE requests that don't send a request body. Consider removing this header to follow REST API best practices.

Suggested change
-H "Content-Type: application/json" \

Copilot uses AI. Check for mistakes.

@v-dirichards
Copy link
Contributor

@mrbullwinkle

Can you review this old PR and determine whether it needs to be closed or merged?

@MicrosoftDocs/public-repo-pr-review-team

@github-actions github-actions bot removed the inactive This PR is inactive for more than 14 days label Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants