Tasks

Updates a task's name, description, status, and due date

put/projects/{project_id}/tasks/{id}

Request

  • Base URL
    https://app2.gettruss.io/api/v1
  • URL
    https://app2.gettruss.io/api/v1/projects/{project_id}/tasks/{id}
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

ID of the project

idinteger required

ID of the task to update

Request body

namestring

Name of the task

descriptionstring

Description of the task - supports limited subset of HTML <b>, <ul>, <li>, <br>, and <a>.

status'to_do' | 'pending_review' | 'approved'

Status of the task. An invoice task's status cannot be changed through the API.

due_datestring date-time nullable

When the task is due (ISO 8601). Pass null to clear it.

document_category_idinteger nullable

Document type to file the task under - see GET /document_categories for the ids. Pass null to clear it.

Response

successful

Changes