Remove a member
DELETE
/ admin/ v1/ stores/ {store_id}/ members/ {user_id}Remove a member, or leave the store (your own user ID; no permission needed).
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.user_idstringrequiredMember's user ID
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Returns
204 Removed.
Errors
- 403
forbiddenMissing permission. - 404
not_foundNot a member of this store. - 409The owner can't leave or be removed (
owner_protected).