Unlink a (channel, external_id) pair
DELETE /customers/{uuid}/links/{channel}/{externalId}
DELETE
/customers/{uuid}/links/{channel}/{externalId}
uuid scopes the write to that customer. Idempotent — a pair that does not exist at all still returns 200, and re-unlinking an already-unlinked pair owned by uuid returns 200 too. A pair that exists but is owned by a DIFFERENT customer than uuid names returns 404.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” uuid
required
string format: uuid
channel
required
string
externalId
required
string
Responses
Section titled “ Responses ”Unlinked.
object
status
required
string
Uuid is not a valid UUID.
object
error
required
object
code
required
string
Example
not_found message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210Missing or invalid API key or OAuth credential.
object
error
required
object
code
required
string
Example
not_found message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210The credential lacks the loyalty:write scope — a publishable key (publishable_key_forbidden), or an OAuth token, which is always read-only in v1 (insufficient_scope).
object
error
required
object
code
required
string
Example
not_found message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210The pair exists but is owned by a different customer than uuid.
object
error
required
object
code
required
string
Example
not_found message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210