Skip to content

Delete Intent

lexmodelsv2_delete_intent R Documentation

Removes the specified intent

Description

Removes the specified intent.

Deleting an intent also deletes the slots associated with the intent.

Usage

lexmodelsv2_delete_intent(intentId, botId, botVersion, localeId)

Arguments

intentId

[required] The unique identifier of the intent to delete.

botId

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

botVersion

[required] The version of the bot associated with the intent.

localeId

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

Value

An empty list.

Request syntax

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