Back to Shorten REST in Google Sheets
SheetXAI logo
Shorten REST logo
Shorten REST · Google Sheets Guide

Bulk Delete Expired Shorten.REST Aliases From a Google Sheet

2026-05-14
5 min read

The Scenario

Q2 ended last week. Your promotional campaign is over. You have 60 short URL aliases in a Google Sheet — limited-time offer links, event registration URLs, countdown-page redirects — all of them pointing to pages that are now 404s or intentionally offline. The slugs are prime real estate for Q3 campaigns and you want them back.

Column A of your sheet has the alias names. Column B is empty.

The bad version:

  • Log into the Shorten.REST dashboard, search for the first alias in column A, click into it, find the delete button, confirm the deletion, go back to the list.
  • Repeat this 59 more times.
  • Lose track of which ones you've already deleted when the dashboard list re-sorts after each removal.
  • Finish with no confirmation in your sheet — just 60 tabs of browser history and a feeling that you got them all.

Campaign cleanup is supposed to take 20 minutes. This version takes all morning and still leaves you uncertain.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent inside your Google Sheet that reads your data and calls Shorten.REST for you — including deleting a batch of aliases and logging the confirmation back into the sheet.

Delete each Shorten.REST alias listed in column A using the default domain. Write "deleted" into column B when each removal is confirmed. If an alias isn't found, write "not found" into column B instead.

What You Get

  • Each alias in column A is deleted from Shorten.REST.
  • Column B gets "deleted" for every alias successfully removed.
  • Aliases that weren't found in Shorten.REST — because they were already deleted or the name was wrong — get "not found" in column B, so you know exactly which rows need attention.
  • The agent confirms the total count of deletions and any gaps at the end.

What If the Data Is Not Quite Ready

Some aliases in column A have the full domain prefix, not just the slug

Column A contains values like 'go.mycompany.com/summer-sale'. Extract just the slug from each value, then delete the corresponding Shorten.REST alias. Write "deleted" into column B when confirmed.

You want to verify before deleting — check if the alias still exists first

For each alias in column A, check whether it still exists in Shorten.REST and write "exists" or "not found" into column B. Don't delete anything yet — I want to review the list before confirming.

Some aliases should be skipped based on a flag in another column

Delete only the Shorten.REST aliases in column A where column C says "expire". Skip rows where column C says "keep". Write "deleted" or "skipped" into column D for each row.

Full audit + delete in one shot

Check column A for blanks and duplicates. Skip blank rows. For duplicate alias names, only delete once and note "duplicate" in column B for the extra rows. Delete all valid aliases and write "deleted," "not found," or "duplicate" into column B.

One prompt cleans the list and deletes in the same pass.

Try It

Get the 7-day free trial of SheetXAI and open any Google Sheet with a list of expired Shorten.REST aliases in column A, then ask it to delete them and log the confirmation back into the sheet. See also: audit your full alias inventory or bulk-create new short URLs to replace them.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more