DELETE /cards/{cardId}/comments/{cardId}
Description
Removes a comment from a card
The route handles the HTTP DELETE request made to the 'cards/{cardId}/comments/{cardId}' path.
Query parameters
The query parameter is sent in the request line:
Name | Type | Description |
---|---|---|
cardId | number | Required. The ID of the card, from which the comment will be deleted. |
commentId | number | Required. The ID of the comment to be removed. |
Payload
No payload is required.
Response
The server returns a json object with a card ID.
Example:
{
"id": 4
}
The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).
Related articles: Working with server