Skip to content

Delete Price Alert Log

Deletes one trigger log entry for the current user.

DELETE

https://{some_domain}/price_alert/log/{id}

Authorization

All requests must include a JWT token:

Authorization: <JWT_TOKEN>

This endpoint is available for SESSION_USER and SESSION_CUSTOMER.

  • SESSION_USER: the server takes login from the JWT session.
  • SESSION_CUSTOMER: pass login in the request query/body. The server verifies that the login is linked to the authenticated customer.

Request

Field Type Required Description
login int Only for SESSION_CUSTOMER Trading account login linked to the authenticated customer

Response

Success (200)

{
  "data": "OK"
}

Error Responses

Code Error Description
400 INVALID_DATA Validation failed
400 INVALID_LOGIN Login is missing or invalid
401 PERMISSION_DENIED Access denied or login is not linked to the customer session
404 NOT_FOUND Log record not found