board-github
DELETE /v1/board-github/links/{linkId}/items/{itemId}
Remove an item from the GitHub Project, permanently.
Xác thực
Gửi khóa API dưới dạng mã thông báo bearer. Điểm cuối này không nêu rõ quyền cụ thể trong thông số kỹ thuật, vì vậy hãy cấp cho khóa của bạn quyền tối thiểu cần thiết và kiểm tra phản hồi thay vì phỏng đoán.
Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.
Dùng thử
Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.
curl -X DELETE https://api.zinndigital.com/v1/board-github/links/{linkId}/items/{itemId}?confirm=<confirm> \
-H "Authorization: Bearer zdk_live_…"Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API
Chi tiết
**There is no undo, on either side.** For a draft item GitHub destroys the content outright; for an issue or a pull request the item leaves the project and the issue itself survives. A customer cannot be expected to know which of those they are about to do, so the screen says it and this endpoint refuses without an explicit confirmation. `confirm` must equal the item's own GitHub node id (`item_node_id`), not a boolean and not the word "delete". A boolean confirms *that you meant to delete something*; the node id confirms *which one*, so a stale tab, a re-sorted board or a double submit that lands on a neighbouring row is refused rather than granted. Archiving is the reversible alternative and is usually what a person clearing a Done column actually wants — see the `archive` sub-resource.
Tham số
| Tên | Loại | Bắt buộc | Nội dung này là gì |
|---|---|---|---|
linkId (path) | string | Có | The GitHub Projects connection. |
itemId (path) | string | Có | The item, by OUR id — not GitHub's node id, which is not a path-safe value. |
confirm (query) | string | Có | The item's own `item_node_id`. A query parameter rather than a request body because a `DELETE` body is dropped by enough proxies that a confirmation carried in one silently beco… |
Các lỗi điểm cuối này có thể trả về
401 · 403 · 404 · 422