Skip to navigation

Delete a partner customer

Delete a partner customer.

Credential: Partner secret

Before you call

  • A server-side partner secret for the owning partner. Do not send an Origin header.

Soft-deletes the customer

within the authenticated partner, invalidating all sessions and preventing

future minting for this partnerUserId. Historical profiles, payment methods,

trades and audit records are retained. Wallet, email and phone become

available to a new customer ID unless another active customer uses them.

Repeated deletion returns 204; an unknown customer returns 404.

Confirm with Sinbad that this endpoint is enabled in your environment.

Errors

StatusCodeWhat to do
400VALIDATION_ERRORCorrect the fields reported in details before retrying.
401UNAUTHENTICATEDCreate a new customer session or use a valid server credential.
403FORBIDDENCheck credential ownership, integration and the supplied Origin.
404NOT_FOUNDCheck the resource ID. A resource that belongs to someone else also returns 404.
409CONFLICTRead the current state again before you prepare or retry.
503UPSTREAM_ERRORRetry with backoff; preserve the same idempotency key for a repeated mutation.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

partnerUserIdstringRequired1-128 characters

Exact stable customer ID, URL-encoded as one path segment.

Response

Customer disabled and sessions invalidated

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
503
Service Unavailable Error