DELETE api/Flights/{id}

Deletes a flight by its ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the flight to delete.

integer

Required

Body Parameters

None.

Response Information

Resource Description

An HTTP response indicating the result of the delete operation, or forbidden if the flight has already departed

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.