Requires Any of write_content, write_online_store_pages access scopes.

Deletes an article.


Anchor to id
id
required

The ID of the article to be deleted.


Was this section helpful?

The ID of the deleted article.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation articleDelete($id: ID!) {
  articleDelete(id: $id) {
    deletedArticleId
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "id": "gid://shopify/<objectName>/10079785100"
}