Unlink User from Merchant

Revokes a user's access to a specific merchant by soft-deleting the membership record. Only the specified merchant is affected — the user's access to other merchants and the user record itself are never modified. The caller must be an active admin of the merchant, or a system_admin. A caller cannot revoke their own access to the merchant they are currently acting on (self-lockout prevention). Removing the last admin from a merchant is blocked for non-system_admin callers.

Path Params
string
required

The ID of the user whose merchant access is being revoked.

string
required

The ID of the merchant to revoke access from.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json