Skip to content

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_idstringrequired

      The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

    • user_idstringrequired

      Member's user ID

    Headers

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Returns

    204 Removed.

    Errors

    • 403forbiddenMissing permission.
    • 404not_foundNot a member of this store.
    • 409The owner can't leave or be removed (owner_protected).