Update a compliance project
PATCH
/v1/projects/{projectId}
const url = 'https://api.varman.io/v1/projects/prj_abc123def456';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"name":"SOC 2 readiness","description":"example","leaderMemberId":"mem_abc123","dueDate":"2026-04-15T12:00:00Z","priority":"urgent","status":"planned"}'};
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/projects/prj_abc123def456 \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "name": "SOC 2 readiness", "description": "example", "leaderMemberId": "mem_abc123", "dueDate": "2026-04-15T12:00:00Z", "priority": "urgent", "status": "planned" }'Updates the name, description, leader, due date, priority or status of a project. Send null to clear leader, due date or description.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string
Example
prj_abc123def456Unique project identifier
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
Project name
string
Example
SOC 2 readinessdescription
What the project covers, or null to clear
string
leaderMemberId
Member ID of the project leader, or null to clear
string
Example
mem_abc123dueDate
Due date (ISO 8601), or null to clear
string format: date-time
priority
string
Example
highstatus
string
Example
in_progress