DELETE ​/api​/v3​/vote​/:id

Delete a vote.

Request

Example Request

{
  "auth_token": "ef43987dc3dfca56255915d3b109714ecd4516ac54f527",
  "station_id": {
  }
}

Example Parameters

  • auth_token: The auth_token of the currently authenticated user.

    • Required: no
    • Type: string
    • Example: ef43987dc3dfca56255915d3b109714ecd4516ac54f527
  • station_id: Station from which the vote was cast

    • Required: no
    • Type: Integer
    • Example: 10
    • %{key} %{@schema[key]}

Response

Response Codes

Successful Response Codes

  • 204: The vote was successful deleted.

Failure Response Codes

  • 404: Indicates the vote could not be found.

  • 401: This request failed authentication.