Skip to content

[api] add delete conversation & back-office task endpoints - #9

Merged
gmtuca merged 2 commits into
mainfrom
api-client-sync/2026-07-17
Jul 20, 2026
Merged

[api] add delete conversation & back-office task endpoints#9
gmtuca merged 2 commits into
mainfrom
api-client-sync/2026-07-17

Conversation

@gmtuca

@gmtuca gmtuca commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds two DELETE endpoints to the Management client, mirroring the existing Articles.DeleteAsync plumbing:

  • 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 Conversations and BackOfficeTasks resource groups are now exposed on GradientLabsManagementClient (previously only available on the integration client).

Version

Bumps the package from 0.1.00.1.1 (minor), with a matching CHANGELOG.md entry. 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 errors
  • dotnet test — 69 passed (net8.0 and net10.0), 0 failed
  • dotnet format --verify-no-changes — clean (exit 0)

🤖 Generated with Claude Code

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>
@gmtuca
gmtuca requested review from a team as code owners July 17, 2026 14:35
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gmtuca
gmtuca force-pushed the api-client-sync/2026-07-17 branch from 0f7ae7a to 7af0e82 Compare July 17, 2026 14:59
BaseUri = new Uri("https://localhost:9999"),
});

[Fact]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Image

@gmtuca
gmtuca merged commit e2ffcc2 into main Jul 20, 2026
7 checks passed
@gmtuca
gmtuca deleted the api-client-sync/2026-07-17 branch July 20, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants