Anchor to urlRedirectDeleteurl
urlRedirectDelete
mutation
Requires access scope.
Anchor to UrlRedirectDeletePayload returnsUrlRedirectDeletePayload returns
- Anchor to deletedUrlRedirectIddeleted•
Url Redirect Id The ID of the deleted redirect.
- Anchor to userErrorsuser•
Errors [UrlRedirect non-nullUser Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation urlRedirectDelete($id: ID!) {
urlRedirectDelete(id: $id) {
deletedUrlRedirectId
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100"
}
{
"id": "gid://shopify/<objectName>/10079785100"
}