DELETE /cards/{cardId}/comments/{commentId}
Description
Deletes a comment from a card
This route processes an HTTP DELETE request sent to the cards/{cardId}/comments/{commentId}
endpoint.
Path parameters
The following parameters are included in the request URL:
Name | Type | Description |
---|---|---|
cardId | number | Required. The identifier of the card from which the comment will be deleted. |
commentId | number | Required. The identifier of the comment to be deleted. |
Payload
No payload needs to be sent with this request.
Response
The server responds with a JSON object containing the user ID who deleted the comment.
Example:
{
"id": 4
}
The HTTP status code indicates the result: 200 means the request was successful, while 500 indicates an error.
Related articles: Working with server