curl --request PATCH \
--url https://api.dock.us/{version}/workspace-plan-tasks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"completed": false
}
'{
"data": {
"workspacePlanTask": {
"id": "RiHO4e0Ju3DS",
"updatedAt": "2021-01-01T00:00:00.000Z",
"createdAt": "2021-01-01T00:00:00.000Z",
"object": "workspacePlanTask",
"url": "https://api.dock.us/v1/workspace-plan-tasks/RiHO4e0Ju3DS",
"isInternal": false,
"status": "In Progress",
"completedAt": "2024-01-01T00:00:00Z",
"actionLinkUrl": "https://acme.dock.us/onboarding",
"actionLinkName": "View onboarding plan",
"actionText": "View onboarding plan",
"actionType": "link",
"showActionText": true,
"startDate": "2024-01-01",
"title": "Create onboarding plan",
"dueDate": "2024-01-01",
"index": 0,
"templatePlanTaskId": "RiHO4e0Ju3DS"
}
}
}Update a workspace plan task by ID
curl --request PATCH \
--url https://api.dock.us/{version}/workspace-plan-tasks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"completed": false
}
'{
"data": {
"workspacePlanTask": {
"id": "RiHO4e0Ju3DS",
"updatedAt": "2021-01-01T00:00:00.000Z",
"createdAt": "2021-01-01T00:00:00.000Z",
"object": "workspacePlanTask",
"url": "https://api.dock.us/v1/workspace-plan-tasks/RiHO4e0Ju3DS",
"isInternal": false,
"status": "In Progress",
"completedAt": "2024-01-01T00:00:00Z",
"actionLinkUrl": "https://acme.dock.us/onboarding",
"actionLinkName": "View onboarding plan",
"actionText": "View onboarding plan",
"actionType": "link",
"showActionText": true,
"startDate": "2024-01-01",
"title": "Create onboarding plan",
"dueDate": "2024-01-01",
"index": 0,
"templatePlanTaskId": "RiHO4e0Ju3DS"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier
"RiHO4e0Ju3DS"
Select the workspace plan task properties that should be returned
isInternal, status, completedAt, actionLinkUrl, actionLinkName, actionText, actionType, showActionText, startDate, title, dueDate, index, createdAt, updatedAt, templatePlanTaskId Whether the task is completed
false
Update a workspace plan task by ID
Show child attributes
Show child attributes
Id of the object
"RiHO4e0Ju3DS"
Last updated date
"2021-01-01T00:00:00.000Z"
Created at date
"2021-01-01T00:00:00.000Z"
Type of the object
workspacePlanTask "workspacePlanTask"
URL to the resource
"https://api.dock.us/v1/workspace-plan-tasks/RiHO4e0Ju3DS"
Whether the workspace plan task is internal
false
Status of the workspace plan task
"In Progress"
Completed at date of the workspace plan task
"2024-01-01T00:00:00Z"
Action link URL of the workspace plan task
"https://acme.dock.us/onboarding"
Action link name of the workspace plan task
"View onboarding plan"
Action text of the workspace plan task
"View onboarding plan"
Action type of the workspace plan task
link, fileDownload, fileUpload, form, video, calendar, pdf, embedAnything, embedCode "link"
Whether to show action text of the workspace plan task
true
Start date of the workspace plan task
"2024-01-01"
Title of the workspace plan task
"Create onboarding plan"
Due date of the workspace plan task
"2024-01-01"
Index of the workspace plan task
0
ID of the associated template plan task
"RiHO4e0Ju3DS"