tokportal_delete_comment_task
Cancel a pending comment task and receive a refund of the stored credit cost. Idempotent and safe to retry after uncertain transport results.
Instructions
Cancel a pending comment task. Cancels an owned task only while its status is pending. The terminal transition and refund of the task's exact stored credit cost commit atomically and are idempotent. Current tasks refund 1 credit; credits_refunded remains authoritative for historical tasks. Cancellation remains available when Coverage is paused because it stops pending work rather than executing it. Reuse the same Idempotency-Key after an uncertain transport result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Comment task ID. | |
| Idempotency-Key | No | Strongly recommended for this credit or workflow mutation. Use one unique key per logical request and reuse the same key only with the same method, path, query, and body after an uncertain result. Maximum 255 characters. | |
| idempotency_key | No | Optional Idempotency-Key header for safe retries. |