Delete a comment from a program, task, or request

Removes a comment from the specified entity (program, task, or request). Only the comment author or users
with appropriate management permissions can delete comments.

Key Features:

  • Removes the comment and all associated data
  • Validates user permissions before allowing deletion
  • Maintains audit trail for deletion operations
  • Ensures data consistency across related entities

Authorization Logic:

  1. User must have a valid JWT token with program management scopes
  2. User must be the comment author or have management permissions for the entity
  3. User must have access to the space containing the entity

Usage Example:

Remove outdated or inappropriate comments from program discussions to maintain clean collaboration spaces.

Path Params
string
required
length between 7 and 22

The unique identifier of the space containing the target entity. This determines the scope of entity queries and ensures proper access control. The space must be accessible to the authenticated user with appropriate permissions. It can be the unique identifier (GUID) of the space or the word "default" to indicate the default programs space. Common values include "default" and "rkr83lapKkyCJuLLWqLqzB".

string
required

The unique identifier of the entity (program, task, or request) containing the comment. This entity must exist within
the specified space and be accessible to the authenticated user.

string
required

The unique identifier of the comment to delete. The comment must exist on the specified entity and the user
must have appropriate permissions to delete it.

Responses
204

Comment deleted successfully. No content is returned.

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json