Skip to content

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

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#133
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 endpoint helpers to the Python SDK, mirroring the existing delete_article helper:

  • client.delete_conversation(conversation_id=...)DELETE /conversations/{id}
  • client.delete_back_office_task(task_id=...)DELETE /back-office-tasks/{id}

Both require a Management API 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.00.12.1 (minor) in pyproject.toml, committed separately.

Verification

  • uv run pytest tests: 12 passed, 4 failed. The 4 failures are pre-existing in tests/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

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
gmtuca force-pushed the api-client-sync/2026-07-17 branch from 395c02c to eb9e3f8 Compare July 17, 2026 14:48
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 eb9e3f8 to 80e9a70 Compare July 17, 2026 14:59
@gmtuca
gmtuca merged commit 164e65a into main Jul 20, 2026
1 check 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