Skip to content

Task

Manage tasks assigned to admin users.

Update a task
deprecated

Request

Updates a task using the provided parameters.

Security
apiKeyAuth and practiceGroupId
Path
idstringrequired
Bodyapplication/jsonrequired
statusstring
Enum:"open""closed""in_progress"
prioritystring
Enum:"lowest""low""medium""high""highest"
assignee_typestring or null
Enum:"admin""admin_team"
assignee_idstring or null^\d+$
curl -i -X PATCH \
  'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/tasks/{id}' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-practice-group-id: YOUR_API_KEY_HERE' \
  -d '{
    "status": "open",
    "priority": "lowest",
    "assignee_type": "admin",
    "assignee_id": "string"
  }'

Responses

Ok

Bodyapplication/json
dataobjectrequired
Response
{ "data": { "id": "string" } }