Skip to content

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
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

403

If the user doesn’t have access to delete the comment.

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

404

If the comment with the specified ID was not found.

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties