Delete a social post

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

Deletes one of your own posts and removes the notifications that belong to it. Posts of other profiles cannot be deleted.

OAuth scope: manage About scopes

A post that is not yours returns 400 Post not found.

Example request

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

Parameters

Headers

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

Path parameters

NameTypeRequiredDescription
id string Required Numeric ID of the post. Must be a post of your own profile.

Response

Example response (illustrative values)

{
    "data": "Post deleted."
}

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