Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there.
HTTP request
DELETE https://tasks.googleapis.com/tasks/v1/lists/{tasklist}/tasks/{task}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
tasklist |
Task list identifier. |
task |
Task identifier. |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/tasks
For more information, see the Authorization guide.