Skip to content

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
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.

Idempotency-Key
string
<= 64 characters

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

Media typeapplication/json
object
email
string
external_id
string
phone
string

Example generated

{
"email": "example",
"external_id": "example",
"phone": "example"
}

OK

Media typeapplication/json
object
browsers
required
integer format: int32

Example generated

{
"browsers": 1
}

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"
}
}