Skip to main content
DELETE
/
comments
/
{commentId}
Delete a comment
curl --request DELETE \
  --url https://app.tryordinal.com/api/v1/comments/{commentId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
  "message": "This comment has been deleted",
  "postId": "d4f8e2a1-3b7c-4e9d-8f2a-1c5b9e7d3a6f",
  "createdAt": "2026-02-04T10:30:00.000Z",
  "updatedAt": "2026-02-04T10:30:00.000Z",
  "user": {
    "id": "550e8400-e29b-41d4-a716-446655440001",
    "firstName": "John",
    "lastName": "Doe",
    "email": "john@example.com"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tryordinal.com/llms.txt

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

Authorizations

Authorization
string
header
required

API key authentication. Generate an API key from your workspace settings.

Path Parameters

commentId
string<uuid>
required

Comment ID (UUID)

Response

Comment deleted successfully

A comment on a post

id
string<uuid>

Unique identifier for the comment

message
string

The comment text. Mentions use the format @Display Name [blocked]

postId
string<uuid>

The post this comment belongs to

createdAt
string<date-time>

When the comment was created

updatedAt
string<date-time>

When the comment was last updated

user
object

User who created a comment