Make a request ยป
OptOutService.DeleteSubscribersFromOptOutAll
Deletes subscribers from the Opt out all list in APSIS Pro. NB! The subscribers will be deleted from the account in this process. See code examples
URL Parameters
Http verb: DELETE
URI: Full url: http://se.api.anpasia.com/v1/optouts/global/subscribers/queued
URL parameters:
Not used
Body parameters
Body parameters
subscriberIds List <Int64> |
Subscriber id
|
Body Example
[ 123, 456, 185, 793, 42 ] |
< ArrayOflong xmlns = "http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:i = "http://www.w3.org/2001/XMLSchema-instance" > < long >123</ long > < long >456</ long > < long >185</ long > < long >793</ long > < long >42</ long > </ ArrayOflong > |
Response
Body parameters
returns | A response object which includes the queued result, status code and a message.
|
Body Example
{ "Code" : 1, "Message" : "OK" , "Result" : { "OperationGuid" : "c15cfab6-8761-4aca-8bb5-5307d0a24970" , "PollURL" : "http:\/\/se.api.anpdm.com\/v1\/xxxxxxx.json" } } |
< Code >1</ Code > < Message >OK</ Message > < Result > < OperationGuid >10160d9d-4849-464a-99e5-715f0439c62b</ OperationGuid > </ Result > </ Response > |
Help
Code examples
curl -i -X DELETE -H 'Content-type: application/json' -H 'Accept: application/json' -H 'Authorization: basic $api_key_64baseformat' -d '[ 123, 456, 185, 793, 42 ]' url http: //se.api.anpasia.com/v1/optouts/global/subscribers/queued |