Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Bearer Token necessary to use API

Scopes

public.task:write
Bearer
public.task:write
OAuth2

Task (Write)

Path Parameters

task_id
string
required

The ID of the task

Pattern: ^task_

Query Parameters

expand
string[]

This endpoint supports expandable responses. For more, see the documentation page.

fields
string[]

Returns only the listed fields, such as id,status,site.name. Identifiers and constant fields such as object are always returned. A field inside an expandable association also needs it in expand, unless the collapsed association returns it, such as site.id. For more, see the documentation page.

Body

application/json

Update Task Request

title
string

The title of the task.

description
string | null

Description of the task. Set to null to remove it.

due_at
string<date-time> | null

Due date and time of the task (ISO 8601 date-time). Set to null to remove it.

site
object | null

Site the task belongs to. Set to null to remove the site.

assignee
object | null

Staff member assigned to the task. Set to null to remove the assignee.

metadata
object | null

Set of key-value pairs for storing additional information on the task. Learn more about metadata.

resource
object

Resource the task is about: a unit, contact or subscription. Set to null to remove the resource.

Response

Task updated

Single Task

task
object
required

Task

meta
object
required