Anchor to section titled 'undefined'

validationDelete
mutation

Requires write_validations access scope.

Deletes a validation.


Anchor to id
id
required

The ID representing the installed validation.


Was this section helpful?

Returns the deleted validation ID.

The list of errors that occurred from executing the mutation.


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