DELETE https://api.cryptohopper.com/v1/social/post/{id}/comment/{comment_id}

Deletes one of your own comments. Comments of other profiles cannot be deleted.

OAuth scope: manage About scopes

A comment that is not yours returns 400 Comment not found.

Example request

curl -X DELETE "https://api.cryptohopper.com/v1/social/post/POST_ID/comment/COMMENT_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
comment_id string Required Numeric ID of the comment. Must be a comment of your own profile.
id string Required Numeric ID of the post. Not checked: the comment is looked up by comment_id alone.

Response

Example response (illustrative values)

{
    "data": "Comment deleted."
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.