Skip to content

Delete Session

lexruntimeservice_delete_session R Documentation

Removes session information for a specified bot, alias, and user ID

Description

Removes session information for a specified bot, alias, and user ID.

Usage

lexruntimeservice_delete_session(botName, botAlias, userId)

Arguments

botName

[required] The name of the bot that contains the session data.

botAlias

[required] The alias in use for the bot that contains the session data.

userId

[required] The identifier of the user associated with the session data.

Value

A list with the following syntax:

list(
  botName = "string",
  botAlias = "string",
  userId = "string",
  sessionId = "string"
)

Request syntax

svc$delete_session(
  botName = "string",
  botAlias = "string",
  userId = "string"
)