Drıftstack docs
Docs

What happens to a deleted profile (trash, restore, purge)

You might be here because: “I deleted a profile by mistake” · “how do I get a profile back” · “where is the trash” · “A live profile already uses this name. Rename it, then restore again” · “Delete permanently” · “do deleted profiles count toward my limit” · “restore_needs_slot” · “restore_cap” · “allows N restores from Trash in 30 days” · “restore a deleted profile” · “undo delete”

Short answer

Deleting a profile moves it to a recycle bin (Trash). It is hidden from your list, can be restored for at least 7 days, and is then removed for good at the next daily clean-up. A profile in Trash counts toward no limit, so deleting it frees its slot at once. Restoring it needs a free slot, and each plan allows a set number of restores in any 30 days. “Delete permanently” removes a profile from Trash before its “kept until” date and cannot be undone.

Check first

  • Open the Trash view in Profiles; is the profile there?
  • Is it past its “kept until” date? Each profile in Trash is labelled “kept until” with a date (purges_at in the API). From that date the profile is removed at the next daily clean-up, which can be the same day; until the clean-up runs it can still be listed and restored. Once removed it cannot be recovered.
  • Is the account at its plan’s number of profiles? A restore needs a free slot.

Likely causes and fixes

  1. Restore. Press Restore on the profile in Trash. A deleted profile is kept for at least 7 days. Profiles that were already in Trash when the window changed keep the date they already had, and never less than 7 days from the change. The date on each row is the one that applies.

  2. “A live profile already uses this name. Rename it, then restore again.”. Rename the live profile, then restore.

  3. Restore refused for storage. Restoring brings the profile’s bytes back and is checked against your storage allowance. Free space, then restore.

  4. Restore refused: no free slot. A restored profile counts toward your plan’s profile number again, so the account must be under that number. The API answers HTTP 429 tier-limit with code: "restore_needs_slot" and “Your plan (Pro) keeps 100 profiles and this account has 100. Delete one or choose a bigger plan, then restore.”. Delete a profile you no longer need, or move to a larger plan, then restore. The refused restore is not counted.

  5. Restore refused: restores used up. Each account may restore a set number of profiles from Trash in any rolling 30 days: Trial 3, Starter 3, Pro 10, Team 30, Scale 100, Enterprise 100. Past that the API answers HTTP 429 tier-limit with code: "restore_cap" and “Your plan (Pro) allows 10 restores from Trash in 30 days, and this account has used 10. The next one is available on [date]. Profiles in Trash are kept until the date shown beside each one.”. Wait for that date or move to a larger plan. Waiting does not keep a profile in Trash longer: it is still removed at the first daily clean-up from its “kept until” date on. Only a successful restore is counted; a refused restore, a snapshot restore and a permanent delete are not.

  6. “Delete permanently”. Delete permanently removes a profile from Trash now, without waiting for its “kept until” date; the confirm is destructive and irreversible, and a profile deleted permanently cannot be restored. You never need Delete permanently to make room: deleted profiles count toward no limit, and a delete frees the slot at once.

  7. Its proxy binding. A permanent delete also removes the profile’s proxy link. The proxy itself stays saved.

  8. From code. GET /v1/profiles/trash lists the Trash with each profile’s purges_at, POST /v1/profiles/:id/restore restores one and DELETE /v1/profiles/:id/purge removes one for good. The Trash view in the desktop app shows how many restores you have left.

If it still fails

A profile removed by the daily clean-up (from its “kept until” date on), or deleted permanently, cannot be brought back by support. If a profile vanished without you deleting it, press Talk to a person in this chat (or open Help) and include the name and the approximate time; that is looked at by a person, since it may be an account-access question.