---
title: "Delete task subscription"
method: DELETE
path: "/nodes/task-unsubscribe"
tags: ["Nodes"]
---

# Delete task subscription

`DELETE /nodes/task-unsubscribe`

Unsubscribes a node from a specific task.

## Request body

- NodeTaskUnsubscriptionRequest — Represents a request to unsubscribe from a node task. This struct encapsulates the necessary parameters for unsubscribing from a node task, including optional gas-related fields.
  - `gas` string — Optional gas object ID. If not provided, the default is `None`.
  - `gas_budget` integer, nullable — Optional gas budget. If not provided, the default is `None`.
  - `gas_price` integer, nullable — Optional gas price. If not provided, the default is `None`.
  - `node_badge_id` string — Optional node badge ID. If not provided, the default is `None`.
  - `task_small_id` integer, required — The small ID of the task to unsubscribe from.

## Response `200`

Node task unsubscription successful

- NodeTaskUnsubscriptionResponse — Represents a response to a node task unsubscription request. This struct contains the transaction digest, which is a unique identifier for the transaction associated with the node task unsubscription.
  - `tx_digest` string, required — The transaction digest. This is a unique identifier for the transaction.

## Other responses

- `500` — Failed to submit task unsubscription

---

[API](https://skmtc.net/atomaai/apis/atoma-daemon.md) · [All operations](https://skmtc.net/atomaai/apis/atoma-daemon/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atomaai/atoma-daemon/versions/45bb2355d453/schema)
