Skip to content

Delete Topic

sns_delete_topic R Documentation

Deletes a topic and all its subscriptions

Description

Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error.

Usage

sns_delete_topic(TopicArn)

Arguments

TopicArn

[required] The ARN of the topic you want to delete.

Value

An empty list.

Request syntax

svc$delete_topic(
  TopicArn = "string"
)