Skip to content

Delete a view

DELETE/admin/v1/stores/{store_id}/saved-views/{view_id}

    Delete a view. A team view is deleted by whoever made it, or someone with settings:write.

    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.

    • view_idstringrequired

      Saved view ID

    Headers

    • shop-api-versionYYYY-MM

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

    Returns

    204 Deleted.

    Errors

    • 403forbiddenSomeone else's team view.
    • 404not_foundNo such view of yours or the team's.