Comments
Delete a comment
Changed onDelete a comment if necessary
delete/posts/{postId}/comments/{commentId}
Request
- Base URLhttp://localhost:8080/api
- URLhttp://localhost:8080/api/posts/{postId}/comments/{commentId}
- Authnone declared
Path parameters
postIdstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000
Unique identifier of the post
commentIdstring uuid required
Example:987fcdeb-51a2-43d1-9f6b-123456789abc
Unique identifier of the comment
Response
Comment deleted successfully
Changes
- breaking
added the new path request parameter
commentId - breaking
added the new path request parameter
postId - breaking
the
response's property type changed fromobjecttoarrayfor status - breaking
the
response's property type changed fromobjecttoarrayfor status
- breaking
- warning
deleted the
pathrequest parametercommentId - warning
deleted the
pathrequest parameterpostId - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning