Skip to content

[LA-36971] Document DELETE /v1/tasks/:id endpoint#56

Open
tejanium wants to merge 1 commit into
mainfrom
LA-36971/document-delete-task-endpoint
Open

[LA-36971] Document DELETE /v1/tasks/:id endpoint#56
tejanium wants to merge 1 commit into
mainfrom
LA-36971/document-delete-task-endpoint

Conversation

@tejanium

@tejanium tejanium commented Jun 12, 2026

Copy link
Copy Markdown

Jira

LA-36971 (sub-task of LA-36517)

What

Documents the new DELETE /v1/tasks/:id endpoint (Tasks section), added in learnamp/learnamp#23768.

Adds a Delete a Task entry with cURL + Ruby examples, the required tasks:delete scope, and 204 / 404 responses — matching the existing Delete a User / Delete a Team docs.

Why

Customers (Winc Academy, ArcticWolf — see LA-36517) need to delete tasks via the API. The docs note that this is a soft delete (lifecycle becomes deleted, retrievable via filters[lifecycle]=deleted) and that associated access is revoked, consistent with the UI.

Anything Else

Pairs with the app PR learnamp/learnamp#23768 — merge/deploy docs once that ships.


Note

Low Risk
Documentation-only change in API reference; no runtime or security behavior is modified in this repo.

Overview
Adds a Delete a Task section to the Tasks API docs for DELETE /v1/tasks/{taskId}, aligned with existing delete endpoints (e.g. Delete a User / Delete a Team).

The new entry includes cURL and Ruby client examples, documents the tasks:delete scope, and describes 204 No Content and 404 Not Found responses. It explains that deletion is a soft delete (lifecycle deleted, still listable via filters[lifecycle]=deleted on View All Tasks), revokes access granted by the task, and may take a few minutes to process—matching UI behavior.

Reviewed by Cursor Bugbot for commit 1318cb5. Bugbot is set up for automated code reviews on this repo. Configure here.

@tejanium tejanium marked this pull request as ready for review June 12, 2026 09:58
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.

1 participant