Skip to content

Update a task

PATCH
/v1/tasks/{taskId}
curl --request PATCH \
--url https://api.varman.io/v1/tasks/tsk_abc123def456 \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "title": "Review access controls", "description": "Review and update access control policies", "status": "todo", "assigneeId": "mem_abc123", "approverId": "mem_abc123", "frequency": "daily", "integrationScheduleFrequency": "daily", "department": "it", "reviewDate": "2025-01-01T00:00:00.000Z", "notRelevantJustification": "This control is out of scope for our SOC 2 audit." }'

Update a task in Varman. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.

taskId
required
string

Example

tsk_abc123def456

Unique task identifier

Media typeapplication/json
object
title

Task title

string

Example

Review access controls
description

Task description

string

Example

Review and update access control policies
status
string
Allowed values: todo in_progress in_review done not_relevant failed

Example

in_progress
assigneeId

Assignee member ID, or null to unassign

string
nullable

Example

mem_abc123
approverId

Approver member ID, or null to unassign

string
nullable

Example

mem_abc123
frequency
string
Allowed values: daily weekly monthly quarterly yearly

Example

monthly
integrationScheduleFrequency

Cadence for running the integration check attached to this task

string
Allowed values: daily weekly monthly quarterly yearly

Example

daily
department

Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.

string
<= 64 characters

Example

it
reviewDate
string format: date-time

Example

2025-01-01T00:00:00.000Z
notRelevantJustification

Required justification when marking evidence tasks as not_relevant

string

Example

This control is out of scope for our SOC 2 audit.

Task updated successfully

Media typeapplication/json
object
id
required

Unique identifier for the task

string
title
required

Task title

string
description

Task description

string
status
required

Task status

string
Allowed values: todo in_progress done blocked
createdAt
required

Task creation timestamp

string format: date-time
updatedAt
required

Task last update timestamp

string format: date-time
taskTemplateId

Task template ID

object
integrationScheduleFrequency
required

Cadence for running the integration check attached to this task

string
Allowed values: daily weekly monthly quarterly yearly
integrationLastRunAt

Last successful integration check run timestamp

object

Example

{
"id": "tsk_abc123def456",
"title": "Implement user authentication",
"description": "Add OAuth 2.0 authentication to the platform",
"status": "todo",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"taskTemplateId": "frk_tt_68406e353df3bc002994acef",
"integrationScheduleFrequency": "daily"
}

Invalid request body or task not found

Task not found