Flights

Destroy a flight

Changed on

Returns the attributes of the destroyed flight, upon success.

delete/measurement/flights/{id}

Request

  • Base URL
    https://api.magellan.ai/v2
  • URL
    https://api.magellan.ai/v2/measurement/flights/{id}
  • Auth
    API key in header Authorization

Path parameters

idstring required
Example:0123456789abcdef

Response

OK

Example response

{
  "measurementFlight": {
    "id": 123,
    "startDate": "2024-03-01",
    "endDate": "2024-03-31",
    "expectedImpressions": 100,
    "cpm": 10,
    "uid": "qtr-1-flight-1",
    "ad": {
      "id": "0123456789abcdef",
      "name": "The Pod Show - Mid-Roll",
      "uid": "ad-123-456",
      "cohorts": [
        {
          "cohortName": "Creative",
          "subCohortName": "Holiday 30s"
        }
      ]
    }
  }
}

Changes

    • breaking

      added to the // response property oneOf list for the response status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status