Delete a creative file for the offer

HTTP method Endpoint
DELETE /v1/offers/{offer_id}/creatives/{creative_id}

Path parameters

Parameter Description
offer_id The unique id for the offer.

Response body parameters

Field Type Description
id integer A string that uniquely identifies this creative.
offer_id integer A string that uniquely identifies this offer.
url string The url of the creative preview.
mime string content-type.
size integer The size of the file in bytes.
width integer The width of the image.
height integer The height of the image.
filename string The name of the file that was uploaded, optionally passed in.

Example request

Request DELETE https://{networkname}.api.offerslook.com/v1/offers/23/creatives/90


Request DELETE http://{networkname}.api.offerslook.com/v1/offers/23/creatives/90


Example response


    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_creative": [
          {
            "id": 89,
            "offer_id": 23,
            "url": "https://files.offerslook.com/offerslook-bucket/partner_40/creative/about_8bbbabbde8fb45c8a3963418a67845cd.png",
            "mime": "image/png",
            "size": 116985,
            "width": null,
            "height": null,
            "filename": "about.png"
          },
          {
            "id": 91,
            "offer_id": 23,
            "url": "https://files.offerslook.com/offerslook-bucket/partner_40/creative/safe_b47bab84a44d482381e7c907fb3d9990.jpg",
            "mime": "image/jpeg",
            "size": 27150,
            "width": null,
            "height": null,
            "filename": "safe.jpg"
          }
        ]
      }
    }

results matching ""

    No results matching ""