For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
SupportDeveloper ForumLogin
  • Overview
    • Introduction
    • Getting Started
    • Integration Example (PSA)
    • Authentication
    • Error Handling
    • Pagination
    • Filtering
    • Ordering
    • Rate Limits
    • Permissions
    • Webhooks
    • MCP Server
    • Versioning
    • Changelog
    • Support
  • API v1 Reference
    • Projects Overview
    • Tasks Overview
    • Time Tracking Overview
    • Documents Overview
    • Search Overview
    • Companies Overview
    • Users Overview
    • Files & Images Overview
      • POSTEndpoint to batch create external files without uploading.
      • GETReturns all files of the task with the specified id.
      • POSTCreates a new task file for the task with the specified id..
      • DELDeletes the files of the specified task.
      • POSTUploads a new file by providing an url.
      • GETReturns the file with the specified id of the task with the specified id.
      • PUTUpdates the metadata of the task file with the specified id.
      • DELDeletes the task file with the specified id.
      • POSTChanges the task this file belongs to.
      • POSTCopies the file to a new task.
      • GETReturns the content of the file with the specified id as pdf. type or conversion not possible.
      • GETReturns an url to share the file.
      • GETReturns all file versions of the specified task file.
      • POSTUploads a new version of the task file with the specified id.
      • GETReturns the task file version with the specified id.
      • GETReturns the content of the task file version with the specified id.
    • Custom Fields Overview
    • Workload & Planning Overview
    • Project Templates Overview
    • Workflows Overview
    • Login & Access Overview
    • API Management Overview
LogoLogo
SupportDeveloper ForumLogin
API v1 ReferenceTask Files

Deletes the files of the specified task.

DELETE
https://api.awork.com/api/v1/tasks/:taskId/files
DELETE
/api/v1/tasks/:taskId/files
$curl -X DELETE https://api.awork.com/api/v1/tasks/taskId/files \
> -H "Authorization: Bearer <token>"
Deletes the metadata and the different versions of the files. <Check title="Required Permissions" icon="key">Any authenticated user.</Check>
Was this page helpful?
Previous

Uploads a new file by providing an url.

Next
Built with

Deletes the metadata and the different versions of the files.

Required Permissions
Any authenticated user.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

taskIdstringRequiredformat: "uuid"
The id of the task.

Response

No Content