Shares not being deleted

  • 1
  • Problem
  • Updated 7 months ago
We are creating and deleting shares programmatically but I noticed that shares are not actually being deleted. If I hit the API to return all shares, they are still being returned.

I see from this post that there is a bug where the expiration date is updated but the share is not actually deleted. However there are shares that we have deleted over a month ago that are still in the system.

Is the process that does the removal of shares broken or not working?
Photo of Ross Bender

Ross Bender

  • 57 Posts
  • 9 Reply Likes

Posted 7 months ago

  • 1
Photo of Eliezer Encarnacion

Eliezer Encarnacion, Official Rep

  • 699 Posts
  • 98 Reply Likes
Hey Ross,

Shares metadata can be kept for some time for various compliance reasons, but we do not have an SLA or time expectation for when those Shares are fully deleted from the system. You can rest assured that a deleted Share no longer provides access to the specified file(s). You can use GET /sf/v3/Shares?includeExpired=false to get all non-expired Shares only.

Let me know if that helps.

Thanks!
Eli
Photo of Ross Bender

Ross Bender

  • 57 Posts
  • 9 Reply Likes
Thank you, I completely missed that query parameter option. Appreciate the quick response!