Anchor to urlRedirectBulkDeleteByIdsurl
urlRedirectBulkDeleteByIds
mutation
Requires access scope. Also: Requires an active user.
Asynchronously delete URLRedirect objects in bulk by IDs. Learn more about URLRedirect objects.
Anchor to UrlRedirectBulkDeleteByIdsPayload returnsUrlRedirectBulkDeleteByIdsPayload returns
- •
The asynchronous job removing the redirects.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation urlRedirectBulkDeleteByIds($ids: [ID!]!) {
urlRedirectBulkDeleteByIds(ids: $ids) {
job {
# Job fields
}
userErrors {
field
message
}
}
}
Input
{
"ids": [
"gid://shopify/<objectName>/10079785100"
]
}
{
"ids": [
"gid://shopify/<objectName>/10079785100"
]
}