Skip to main content
PUT
Update a task

Authorizations

tokenName
string
cookie
required

JWT authentication cookie. The server sets this cookie after a successful login. You do not need to generate or provide an API key manually. Use the login endpoint first, then the browser or HTTP client sends this cookie with protected requests.

Path Parameters

id
string
required

MongoDB ObjectId of the task.

Body

application/json
title
string
description
string
status
enum<string>
Available options:
pending,
completed

Response

Task updated successfully.

task
object