PUT
/
task
/
{id}
curl --request PUT \
  --url https://local.casebender.com:3000/api/task/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "status": "<string>",
  "mandatory": true,
  "assigneeId": "<string>",
  "flagged": true,
  "dueDate": "<string>"
}'
{
  "id": "<string>",
  "title": "<string>",
  "mandatory": true,
  "description": "<string>",
  "assigneeId": "<string>",
  "flagged": true,
  "dueDate": "<string>",
  "status": "<string>",
  "caseId": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "deletedAt": "<string>",
  "createdById": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Body

application/json
title
string
description
string
status
string
mandatory
boolean
assigneeId
string | null
flagged
boolean
dueDate
string

Response

200
application/json
Successful response
id
string
required
title
string
required
mandatory
boolean
required
description
string
required
flagged
boolean
required
dueDate
string
required
status
string
required
caseId
string
required
createdAt
string
required
updatedAt
string
required
createdById
string
required
assigneeId
string | null
deletedAt
string | null