board-github

DELETE /v1/board-github/links/{linkId}/items/{itemId}

Remove an item from the GitHub Project, permanently.

Svi board-github krajnji točke

Sva developerska dokumentacija

Autentifikacija

Pošaljite API ključ kao bearer token. Ova krajnja točka ne navodi određenu dozvolu u specifikaciji, stoga dajte svom ključu najmanje što mu je potrebno i provjerite odgovor umjesto da pretpostavljate.

Ova krajnja točka ne prihvaća ID organizacije. Vaš ključ već identificira organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.

curl -X DELETE https://api.zinndigital.com/v1/board-github/links/{linkId}/items/{itemId}?confirm=<confirm> \
  -H "Authorization: Bearer zdk_live_…"

Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli

Pojedinosti

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.

Parametri

NazivVrstaObaveznoŠto je to
linkId (path)stringDaThe GitHub Projects connection.
itemId (path)stringDaThe item, by OUR id — not GitHub's node id, which is not a path-safe value.
confirm (query)stringDaThe 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…

Pogreške koje ova krajnja točka može vratiti

401 · 403 · 404 · 422