Reorder tasks
PATCH
/v1/tasks/reorder
const url = 'https://api.varman.io/v1/tasks/reorder';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"updates":[{"id":"example","order":1,"status":"todo"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.varman.io/v1/tasks/reorder \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "updates": [ { "id": "example", "order": 1, "status": "todo" } ] }'Reorder tasks in Varman. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
updates
required
Array<object>
object
id
required
string
order
required
number
status
required
string
Responses
Section titled “Responses”Tasks reordered successfully
Invalid request body