Deletes a specific comment.
DELETE
/api/v1/Comments/{commentId}
Only the comment owner or an admin can delete the comment.
Authorizations
Parameters
Path Parameters
commentId
required
string format: uuid
The ID of the comment to delete.
Responses
204
If the comment was successfully deleted.
400
If the user ID is missing from the claims.
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
403
If the user doesn’t have access to delete the comment.
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
404
If the comment with the specified ID was not found.
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties