Forget a person across devices: unlink the browsers their email, phone or user id linked (one of them, as they gave it), for no later conversion's journey to take; the workspace's owner's
POST
/v1/buyer/persons/forget
const url = 'https://example.com/v1/buyer/persons/forget';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"email":"example","external_id":"example","phone":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/buyer/persons/forget \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "example", "external_id": "example", "phone": "example" }'Who: a workspace’s owner. Not for API keys.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Idempotency-Key
string
Made once per action and sent again on every retry of it, so the service acts once: the request_id of the create or money-moving call; a new one when left out
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
string
external_id
string
phone
string
Example generated
{ "email": "example", "external_id": "example", "phone": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
browsers
required
integer format: int32
Example generated
{ "browsers": 1}default
Section titled “default”An error, as go-commons apperr maps it
Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string
Example generated
{ "error": { "code": "example", "fields": { "additionalProperty": "example" }, "message": "example" }}