Skip to content

Deletes the specified slot from an intent

Description

Deletes the specified slot from an intent.

Usage

lexmodelsv2_delete_slot(slotId, botId, botVersion, localeId, intentId)

Arguments

  • slotId

    [required] The identifier of the slot to delete.

  • botId

    [required] The identifier of the bot associated with the slot to delete.

  • botVersion

    [required] The version of the bot associated with the slot to delete.

  • localeId

    [required] The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.

  • intentId

    [required] The identifier of the intent associated with the slot.

Value

An empty list.

Request syntax

svc$delete_slot(
  slotId = "string",
  botId = "string",
  botVersion = "string",
  localeId = "string",
  intentId = "string"
)