Delete search by ID
Permanently delete a single persisted search row, plus every citation row referenced by its citationIds. The caller must either own the row or have it shared with them.
Scoped to the caller's org and limited to rows where isDeleted: false and isArchived: false; archived or already-deleted rows surface as 404.
Path parameters
ObjectId of the persisted search row to delete.
Query parameters
Additional substring filter against title / messages.content. The row is only deleted if the searchId row also matches this filter; otherwise 404. Special regex characters are escaped; values over 1000 chars or tripping the XSS guard yield 400.
Additional isShared filter ('true' / 'false'). The row is only deleted if it also matches this value.
ISO 8601 lower bound for createdAt. The row is only deleted if its createdAt is on or after this value.
ISO 8601 upper bound for createdAt. The row is only deleted if its createdAt is on or before this value.
Response
Search deleted successfully.