Skip to content

Instantly share code, notes, and snippets.

@mshakhomirov
Created January 11, 2023 09:13
Show Gist options
  • Save mshakhomirov/1c18c54d61d24d739366571750ad3f80 to your computer and use it in GitHub Desktop.
Save mshakhomirov/1c18c54d61d24d739366571750ad3f80 to your computer and use it in GitHub Desktop.

Full delete

curl -v -X DELETE "http://subscriber.test.palringo.aws/subscriber/78034896/delete" -H "Content-Type:application/json" -H "Palringo-RequesterId:78034896" --data '{"reason":"test", "author": 78034896, "source": 78034896}' 

curl -v -X DELETE "http://subscriber.test.palringo.aws/subscriber/78034896/delete" -H "Content-Type:application/json" -H "Palringo-RequesterId:78034896" --data '{"reason":"test", "author": 78034896, "source": 78034896}' 

Undo full delete

curl -v -X POST "http://subscriber.test.palringo.aws/subscriber/1/undelete" -H "Content-Type:application/json" -H "Palringo-RequesterId:78034896"

curl -v -X POST "http://subscriber.test.palringo.aws/subscriber/78034896/undelete" -H "Content-Type:application/json" -H "Palringo-RequesterId:78034896"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment