Skip to main content

Interface: IDeleteArgs

Defined in: types.ts:352

What AIGateway.delete removes: the threads of a tenant, of one of its users, or a chosen list.

Taken by AIGateway.delete; raw ids, no user check (an admin surface).

Properties​

tenantId​

tenantId: string

Defined in: types.ts:354

The tenant whose threads are deleted.


threadIds​

threadIds: TThreadIds

Defined in: types.ts:356

"all" for every thread of the tenant (of the user when userId is given), or the ids to delete.


userId?​

optional userId?: string

Defined in: types.ts:358

Narrows the deletion to this user's threads: an id of another user is ignored.