[api] add delete conversation & back-office task endpoints#133
Merged
Conversation
Add delete_conversation (DELETE /conversations/{id}) and delete_back_office_task
(DELETE /back-office-tasks/{id}), mirroring the existing delete_article helper.
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:48
395c02c to
eb9e3f8
Compare
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
eb9e3f8 to
80e9a70
Compare
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 endpoint helpers to the Python SDK, mirroring the existing
delete_articlehelper:client.delete_conversation(conversation_id=...)→DELETE /conversations/{id}client.delete_back_office_task(task_id=...)→DELETE /back-office-tasks/{id}Both require a
ManagementAPI key and return once the server accepts the request (202 Accepted); deletion of the underlying data proceeds asynchronously.Version
Bumps the package version
0.12.0→0.12.1(minor) inpyproject.toml, committed separately.Verification
uv run pytest tests: 12 passed, 4 failed. The 4 failures are pre-existing intests/test_webhook.py(expired signature fixtures) and unrelated to this change. The 2 new tests (test_conversation_delete,test_back_office_task_delete) pass.uv run ruff check: All checks passed.🤖 Generated with Claude Code