Delete a contact marketing roster

delete

/services/rest/connect/v1.4/contactMarketingRosters/{id}

Request

Path Parameters
  • The unique identifier of the contact marketing roster.
Back to Top

Response

Default Response

Body ()
Root Schema : No content
Type: null
Title: No content
No content returned on delete
Back to Top

Examples

Use DELETE with the following syntax to delete a contact marketing roster:

https://your_site_interface/services/rest/connect/version/contactMarketingRosters/contact_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/contactMarketingRosters/10

Response body example

The status 200 OK is returned. Then getting a list of contact marketing rosters returns the following:

...
{
            "id": 9,
            "lookupName": "Empty List",
            "createdTime": "2014-01-03T18:53:53.000Z",
            "updatedTime": "2014-01-03T18:53:53.000Z",
            "links": [
                {
                    "rel": "canonical",
                    "href": "https://mysite.example.com/services/rest/connect/v1.4/contactMarketingRosters/9"
                }
            ]
        },
        {
            "id": 11,
            "lookupName": "OSC Contacts",
            "createdTime": "2018-03-09T14:54:46.000Z",
            "updatedTime": "2018-03-09T14:54:46.000Z",
            "links": [
                {
                    "rel": "canonical",
                    "href": "https://mysite.example.com/services/rest/connect/v1.4/contactMarketingRosters/11"
                }
            ]
        }

...
Back to Top