Anonymise a partner user
curl --request DELETE \
--url https://vouchersx.com/integrations/users/{externalUserId} \
--header 'x-partner-slug: <x-partner-slug>' \
--header 'x-signature: <api-key>'import requests
url = "https://vouchersx.com/integrations/users/{externalUserId}"
headers = {
"x-partner-slug": "<x-partner-slug>",
"x-signature": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'x-partner-slug': '<x-partner-slug>', 'x-signature': '<api-key>'}
};
fetch('https://vouchersx.com/integrations/users/{externalUserId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vouchersx.com/integrations/users/{externalUserId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"x-partner-slug: <x-partner-slug>",
"x-signature: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vouchersx.com/integrations/users/{externalUserId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("x-partner-slug", "<x-partner-slug>")
req.Header.Add("x-signature", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://vouchersx.com/integrations/users/{externalUserId}")
.header("x-partner-slug", "<x-partner-slug>")
.header("x-signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vouchersx.com/integrations/users/{externalUserId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-partner-slug"] = '<x-partner-slug>'
request["x-signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": "<string>"
}{
"error": "partner_disabled"
}{
"error": "user_not_found"
}Integrations
Anonymise a partner user
Soft-deletes the user: clears email/displayName/phone/countryCode/locale and stamps anonymizedAt. The redemption and claim history is preserved for audit and reporting. A subsequent POST /integrations/users with the same externalUserId revives the row and re-populates the PII. Use this to satisfy partner-side deletion / GDPR-style requests without losing transaction history.
DELETE
/
integrations
/
users
/
{externalUserId}
Anonymise a partner user
curl --request DELETE \
--url https://vouchersx.com/integrations/users/{externalUserId} \
--header 'x-partner-slug: <x-partner-slug>' \
--header 'x-signature: <api-key>'import requests
url = "https://vouchersx.com/integrations/users/{externalUserId}"
headers = {
"x-partner-slug": "<x-partner-slug>",
"x-signature": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {'x-partner-slug': '<x-partner-slug>', 'x-signature': '<api-key>'}
};
fetch('https://vouchersx.com/integrations/users/{externalUserId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vouchersx.com/integrations/users/{externalUserId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"x-partner-slug: <x-partner-slug>",
"x-signature: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vouchersx.com/integrations/users/{externalUserId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("x-partner-slug", "<x-partner-slug>")
req.Header.Add("x-signature", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://vouchersx.com/integrations/users/{externalUserId}")
.header("x-partner-slug", "<x-partner-slug>")
.header("x-signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vouchersx.com/integrations/users/{externalUserId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-partner-slug"] = '<x-partner-slug>'
request["x-signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"error": "<string>"
}{
"error": "partner_disabled"
}{
"error": "user_not_found"
}Authorizations
Stripe-style HMAC signature over ${timestamp}.${rawBody} using your partner secret. Format: t=<unix-seconds>,v1=<hex-hmac-sha256>. Also requires the x-partner-slug header to identify your account.
Headers
Path Parameters
The same identifier you used at upsert time.
Required string length:
1 - 255Response
Anonymised. No body.