Delete market strategy

DELETE https://api.cryptohopper.com/v1/strategy/market/{strategy_id}

Deletes a strategy the user bought on the Marketplace. When the purchase qualifies for a refund it is refunded, and the message says so.

OAuth scope: read manage About scopes

Unlike Get market strategy, this endpoint looks the strategy up by its Marketplace item ID.

Example request

curl -X DELETE "https://api.cryptohopper.com/v1/strategy/market/STRATEGY_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

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

Path parameters

NameTypeRequiredDescription
strategy_id string Required Marketplace item ID of the strategy (item_id from Get market strategies), not its id.

Response

Example response (illustrative values)

{
    "data": "The market strategy has been deleted."
}

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