endTakeoutSession

End a takeout session. USER-ONLY

Parameters

takeoutId: string

The identifier of a takeout session.

isFailed?: boolean

Whether the takeout failed. Defaults to false.

Result

void

Syntax

// Required parameters only.
await client.endTakeoutSession(takeoutId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.endTakeoutSession(takeoutId, { isFailed });