Skip to content

Delete a publication

This method deletes the attribution of a real estate to a publish channel by publish channel ID

DELETE /offer/v1.0/publish

Supported media types:
XML
JSON

Notes:

  • Every publication has to be deleted with an own request (lists of IDs are not supported)
  • if an object is deactivated in the is24 publish channel 10000, every given OnTop Placement will also be deactivated

Request

Path parameters
PARAMETER VALUE
id the unique publish id

Example

DELETE is idempotent, https://rest.immobilienscout24.de/restapi/api/offer/v1.0/publish/58850320_10001 deletes the publish resource with the ID=58850320_10001. That is the attribution of the real estate with the scout object ID = 58850320 to the publish channel with the ID = 10001.

Response

XML:

1
2
3
4
5
6
7
<?xml version="1.0" encoding="UTF-8"?>
<common:messages xmlns:common="http://rest.immobilienscout24.de/schema/common/1.0" xmlns:xlink="http://www.w3.org/1999/xlink">
  <message>
    <messageCode>MESSAGE_RESOURCE_DELETED</messageCode>
    <message>Resource [NAME] with id [ID] has been deleted.</message>
  </message>
</common:messages>

JSON:

1
2
3
4
5
6
7
8
9
{
    "common.messages":[
      { "message":{
        "messageCode":"MESSAGE_RESOURCE_DELETED",
        "message":"Resource [NAME] with id [ID] has been deleted."
      }
    }
  ]
}