---
title: "Declines a specific task."
method: POST
path: "/api/v1/Tasks/{taskId}/Decline"
tags: ["Tasks"]
---

# Declines a specific task.

`POST /api/v1/Tasks/{taskId}/Decline`

## Path parameters

- `taskId` string, uuid, required

## Headers

- `X-API-SECRET` string, required — API Secret is used to verify the integrity of the request and authenticate the client. It should be included in all requests. This value must be kept confidential and should never be exposed in client-side code or public repositories.

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/cakewalk/apis/cakewalk-open-api.md) · [All operations](https://skmtc.net/cakewalk/apis/cakewalk-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cakewalk/cakewalk-open-api/revisions/5728f183a29d/schema)
