Delete a comment for an article

DELETE /articles/comments/{id}

Delete a comment for an article. Auth is required

Path parameters

  • slug string Required

    Slug of the article that you want to delete a comment for

  • id integer Required

    ID of the comment you want to delete

Responses

  • OK

  • Unauthorized

  • 422 application/json

    Unexpected error

    Hide response attribute Show response attribute object
    • errors object Required
      Hide errors attribute Show errors attribute object
DELETE /articles/comments/{id}
curl \
 --request DELETE '/api/articles/comments/{id}' \
 --header "Authorization: $API_KEY"
Response examples (422)
{
  "errors": {
    "body": [
      "string"
    ]
  }
}