[api] add delete conversation & back-office task endpoints - #9
Merged
Conversation
Add Conversations.DeleteAsync (DELETE /conversations/{id}) and
BackOfficeTasks.DeleteAsync (DELETE /back-office-tasks/{id}) on the Management
client, mirroring the existing Articles.DeleteAsync plumbing.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
gmtuca
force-pushed
the
api-client-sync/2026-07-17
branch
from
July 17, 2026 14:59
0f7ae7a to
7af0e82
Compare
djeer
reviewed
Jul 20, 2026
| BaseUri = new Uri("https://localhost:9999"), | ||
| }); | ||
|
|
||
| [Fact] |
djeer
approved these changes
Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Adds two DELETE endpoints to the Management client, mirroring the existing
Articles.DeleteAsyncplumbing:managementClient.Conversations.DeleteAsync(id)→DELETE /conversations/{id}managementClient.BackOfficeTasks.DeleteAsync(id)→DELETE /back-office-tasks/{id}Both return once the API accepts the request (
202 Accepted); deletion proceeds asynchronously server-side. IDs are URL-escaped and no request body is sent.The
ConversationsandBackOfficeTasksresource groups are now exposed onGradientLabsManagementClient(previously only available on the integration client).Version
Bumps the package from
0.1.0→0.1.1(minor), with a matchingCHANGELOG.mdentry. The User-Agent version is derived from the assembly's<Version>, so it tracks automatically — no separate constant to bump.Verification
dotnet build— succeeded, 0 warnings / 0 errorsdotnet test— 69 passed (net8.0 and net10.0), 0 faileddotnet format --verify-no-changes— clean (exit 0)🤖 Generated with Claude Code