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

Response

200
application/json

Successful response

The response is of type object.