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
      • GETReturns all comments of the document with the specified id.
      • POSTCreates a new comment on the document with the specified id.
      • DELDeletes all comments of the specified document.
      • GETReturns the comment with the specified id of the document with the specified id.
      • PUTUpdates the comment with the specified id on the document with the specified id.
      • DELDeletes the comment with the specified id on the document with the specified id.
      • POSTUpdates the reactions of the comment with the specified id on the document with the specified id.
      • POSTSets the resolved status of a comment.
    • Search Overview
    • Companies Overview
    • Users Overview
    • Files & Images Overview
    • Custom Fields Overview
    • Workload & Planning Overview
    • Project Templates Overview
    • Workflows Overview
    • Login & Access Overview
    • API Management Overview
LogoLogo
SupportDeveloper ForumLogin
API v1 ReferenceDocument Comments

Deletes all comments of the specified document.

DELETE
https://api.awork.com/api/v1/documents/:documentId/comments
DELETE
/api/v1/documents/:documentId/comments
$curl -X DELETE https://api.awork.com/api/v1/documents/documentId/comments \
> -H "Authorization: Bearer <token>"
Deletes all comments of the specified document. <Check title="Required Permissions" icon="key">Any authenticated user.</Check>
Was this page helpful?
Previous

Returns the comment with the specified id of the document with the specified id.

Next
Built with

Deletes all comments of the specified document.

Required Permissions
Any authenticated user.

Authentication

AuthorizationBearer

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

Path parameters

documentIdstringRequiredformat: "uuid"
The id of the document.

Response

No Content

Errors

401
Unauthorized Error