_delete

Deletes a chosen Marketing Source

Parameter

id

The ID of the chosen Marketing Source

Example

FM_api(
    'MarketingSource_delete',[
      'id' => '9'
    ]
);

Results

On Success

{"ok":1}

On Failure

If the "id" parameter is not set, or has a value less than 1

{"error":"invalid or missing parameter: id"}

If there's no existing Marketing Source linked to the "id" parameter

{"error":"no such marketing source"}

Last updated