Remove the sponsor image
/deals/{dealId}/sponsor-imageClears the deal's sponsor image and returns 204; clearing an empty one also returns 204. A published deal accepts it. dry_run shows the result without saving it. Emits deal.updated with sponsor_image_id in changed_fields and sends no email. The file stays in the assets folder, so PATCH /deals/{id} with sponsor_image_id undoes it.
Deprecated: it will be withdrawn on 2027-06-30. PATCH /deals/{id} with sponsor_image_id: null replaces it; the Link header names the replacement.
Path parameters
The deal's public uuid.
Query parameters
Validate and run the call without committing it, returning what the real call would return with
meta.dry_runset.
Responses
Removed (no content).
Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
Request validation failed (HTTP 422). The body is either the Laravel
validation envelope (message + field-keyed errors) or the API error
envelope for domain rejections (e.g. form_type_not_supported,
folder_locked, parent_not_found, folder_not_empty).
Examples
curl -X DELETE https://your-org-domain/kong/core/api/v2/deals/{dealId}/sponsor-image\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"