Deletes a specific voyage event.

Supported Formats

json

Errors

Code Description
404 Not found.
422 Unprocessable Entity.
500 Internal Server Error.

Examples

curl 'https://app.octopi.co/api/v1/voyages/V001/voyage_events/1' \
  -X 'DELETE' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Token token=YOURTOKEN'

{
  "message": "Voyage event deleted successfully"
}

Params

Param name Description
voyage_number
required

The voyage number that owns this event

Validations:

  • Must be a String

id
required

The voyage event ID

Validations:

  • Must be a Integer