Deletes the share token for a thread. Idempotent: returns 204 whether or not a share token existed. Deliberately does not verify the thread still exists.
delete(
threadID: string,
params: ShareDeleteParams,
options: RequestOptions
): APIPromise<void>| Name | Type | Description |
|---|---|---|
threadID* | string | |
params* | ShareDeleteParams | |
options | RequestOptions |
await client.threads.share.delete('thread_id', {
project_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
});