domains

List Recycle Bin

List binned folders the caller may restore or purge (TOS-7370).

Every other recycle bin in this repo has a listing surface (agents' trash, documents' ?deleted=true, skills' deleted_only, organizations' own recycle-bin endpoint) - without one here, restoring a binned folder needs its id kept out of band (adversarial review P3).

Scoped to the same authority _require_delete_authority checks per object: direct admin membership (unaffected by the folder's own deleted_at - membership rows are untouched by binning, by design), or owner/admin of the organization that owns the folder. Not reachability -inherited: a binned folder, by definition, no longer participates in inherited reach, and an org-owned folder's own membership can be empty (TOS-7159), so this is a distinct authority query rather than a filter on reachable_library_ids_select.

get/api/folders/recycle-bin

Request

  • Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.thinqos.com/api/folders/recycle-bin
  • Auth: none declared

Query parameters

scope'mine' nullable

mine: only folders the caller has direct authority over, even for a platform admin. Omitted: a platform admin sees every binned folder.

Headers

x-impersonate-identity-idstring nullable

Response

Successful Response

idstring uuid required
namestring required
my_rolestring required
is_direct_memberboolean
can_administerboolean
owner_identity_idstring uuid nullable
owner_identity_display_namestring nullable
owner_identity_avatar_urlstring nullable
owner_identity_kindstring nullable
is_privateboolean
created_atstring date-time required
updated_atstring date-time required
deleted_atstring date-time nullable
document_countinteger
member_countinteger
last_activity_atstring date-time nullable
parent_idstring uuid nullable
slugstring nullable
display_namestring nullable
pathstring nullable
addressstring nullable
org_identity_idstring uuid nullable
org_display_namestring nullable
owner_org_identity_idstring uuid nullable
owner_org_display_namestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.