Skip to main content
DELETE
/
api
/
public
/
blogPosts
/
{postId}
/
comments
/
{commentId}
Delete Article Comment
curl --request DELETE \
  --url https://spaces.nexudus.com/api/public/blogPosts/{postId}/comments/{commentId} \
  --header 'Authorization: Basic <encoded-value>'

Documentation Index

Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt

Use this file to discover all available pages before exploring further.

Delete Article Comment

Removes a specific comment from an article. Only the comment author or an administrator can delete a comment.

Authentication

Requires a valid customer bearer token. The customer must be the comment author.

Path Parameters

postId
number
required
Numeric identifier of the article.
commentId
number
required
Numeric identifier of the comment to delete.

Response

Returns a 200 OK on success.

Examples

Delete a comment

DELETE /api/public/blogPosts/55/comments/103
Authorization: Bearer {token}
HTTP/1.1 200 OK

TypeScript Integration

import endpoints from '@/api/endpoints'

await httpClient.delete(endpoints.blog.deleteComment(55, 103))