Median

POST /tasks/{task}/decline

Updated Oct 1, 20261 minute read

Decline a request

The card leaves the board and the report it came from is declined in Median. Nobody is messaged, the same as declining on Signal. Only a card still in the Requests column; past that, deleting it is the way off.

Part of Tasks.

Parameters

NameInTypeRequiredDescription
taskpathstringYesA task key like "MED-12", its number, its id, or a link to the card.

Responses

StatusDescription
200Done.
401The bearer token is missing, revoked, or expired.
404Not one of yours, or not there at all.
409It already exists, or it was already settled.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
okbooleanNo

Example response

{
  "ok": true
}

Example request

curl -X POST https://api.median.sh/v1/tasks/task/decline \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc