Remove a comment from a listing
Delete a specific comment on a listing.
| URL: | https://api.trademe.co.nz/v1/Listings/{listingId}/questions/{commentId}.{file_format} |
|---|---|
| HTTP Method: | DELETE |
| Requires Authentication? | Yes |
| Permission Required: | MyTradeMeWrite: Maintain your watchlist, answer questions and post comments. |
| Supported Formats: | XML, JSON |
| Rate Limited? | Yes |
URL parameters
| listingId | Integer (required) |
The ID of the listing containing the question. |
||||
|---|---|---|---|---|---|---|
| commentId | Integer (required) |
The ID of the comment being removed. |
||||
| file_format | Enumeration (required) | The format of the response. | ||||
|
||||||
Returns
<RemoveCommentResponse>
Information on whether the operation was successful.
| Success | Boolean |
Indicates whether the operation was successful. |
|---|---|---|
| Description | String or null |
The description of the error, if the operation failed. |