This action requires the following credentials:

  • user — the username under which the action runs.
  • password — the password for that user.

DeleteKafkaUsers — deletes existing SASL/SCRAM users in Kafka.

Request example

securityProtocol: SASL_PLAINTEXT
saslMechanism: PLAIN
users:
  - user: example_user_1
    mechanism: SCRAM-SHA-256
  - user: example_user_2
    mechanism: SCRAM-SHA-256

Request specification

NameRequiredDescriptionPossible values
securityProtocolYesProtocol for connecting to Kafka. For more information, see the Kafka documentationPLAINTEXT, SASL_PLAINTEXT, SASL_SSL
saslMechanismNoSASL authentication mechanism. Required when using the SASL_PLAINTEXT or SASL_SSL protocol. For more information, see the Kafka documentationPLAIN, SCRAM-SHA-256, SCRAM-SHA-512
usersYesSet of users to delete-
users.userYesUsername to delete-
users.mechanismYesAuthentication mechanism associated with the user to deleteSCRAM-SHA-256, SCRAM-SHA-512