diff --git a/versioned_docs/version-2.10.x/admin-api-topics.md b/versioned_docs/version-2.10.x/admin-api-topics.md index d22c922742b3..25599f0a1103 100644 --- a/versioned_docs/version-2.10.x/admin-api-topics.md +++ b/versioned_docs/version-2.10.x/admin-api-topics.md @@ -2114,7 +2114,7 @@ $ bin/pulsar-admin topics delete-partitioned-topic \ ```java -admin.topics().delete(topic); +admin.topics().deletePartitionedTopic(topic); ``` diff --git a/versioned_docs/version-2.11.x/admin-api-topics.md b/versioned_docs/version-2.11.x/admin-api-topics.md index 0ecd500c40d8..cdaabbf26f8e 100644 --- a/versioned_docs/version-2.11.x/admin-api-topics.md +++ b/versioned_docs/version-2.11.x/admin-api-topics.md @@ -1734,7 +1734,7 @@ pulsar-admin topics delete-partitioned-topic \ ```java -admin.topics().delete(topic); +admin.topics().deletePartitionedTopic(topic); ``` diff --git a/versioned_docs/version-3.0.x/admin-api-topics.md b/versioned_docs/version-3.0.x/admin-api-topics.md index b4640562720c..37fbffa1c44c 100644 --- a/versioned_docs/version-3.0.x/admin-api-topics.md +++ b/versioned_docs/version-3.0.x/admin-api-topics.md @@ -1733,7 +1733,7 @@ pulsar-admin topics delete-partitioned-topic \ ```java -admin.topics().delete(topic); +admin.topics().deletePartitionedTopic(topic); ``` diff --git a/versioned_docs/version-3.1.x/admin-api-topics.md b/versioned_docs/version-3.1.x/admin-api-topics.md index b4640562720c..37fbffa1c44c 100644 --- a/versioned_docs/version-3.1.x/admin-api-topics.md +++ b/versioned_docs/version-3.1.x/admin-api-topics.md @@ -1733,7 +1733,7 @@ pulsar-admin topics delete-partitioned-topic \ ```java -admin.topics().delete(topic); +admin.topics().deletePartitionedTopic(topic); ``` diff --git a/versioned_docs/version-3.2.x/admin-api-topics.md b/versioned_docs/version-3.2.x/admin-api-topics.md index 2b9e1c6fdba1..0508e50c9cf7 100644 --- a/versioned_docs/version-3.2.x/admin-api-topics.md +++ b/versioned_docs/version-3.2.x/admin-api-topics.md @@ -1734,7 +1734,7 @@ pulsar-admin topics delete-partitioned-topic \ ```java -admin.topics().delete(topic); +admin.topics().deletePartitionedTopic(topic); ```