PeopleForce
Tasks

Deprecated

Company API v1 is deprecated and will be removed in a future release. Migrate to a newer version — v4 is the latest. Use the version switcher in the header.

Complete a task

PUT
/api/public/v1/tasks/{id}/complete

Path Parameters

id*integer

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/api/public/v1/tasks/0/complete" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{}