---
title: "Delete a Link by id"
method: DELETE
path: "/batch/{batch_id}/news/{news_id}/link/{id}"
tags: ["news", "links"]
---

# Delete a Link by id

`DELETE /batch/{batch_id}/news/{news_id}/link/{id}`

## Request

- Base URL: `https://submitapi.dvidshub.net`
- URL: `https://submitapi.dvidshub.net/batch/{batch_id}/news/{news_id}/link/{id}`
- Auth: OAuth 2
  - Authorization code: `https://api.dvidshub.net/auth/authorize`
  - Token URL: `https://api.dvidshub.net/auth/access_token` scopes: `basic`, `email`, `upload`
- TypeScript: <https://skmtc.dev/dvidshub/apis/dvids-content-submission-api/docs/batch/:batch_id/news/:news_id/link/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Response `204`

No content (Link successfully deleted)

## Other responses

- `403`: Access is denied to the requested resource.
- `404`: The object identified by path parameters does not exist.
- `409`: The resource is in a conflicted state with the request.

---

[API](https://skmtc.dev/dvidshub/apis/dvids-content-submission-api.md) - [All operations](https://skmtc.dev/dvidshub/apis/dvids-content-submission-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dvidshub/apis/dvids-content-submission-api/revisions/921b385ab6b9?raw)
