POST
/
kafka-access
/
kafka-users
Create New Kafka User
curl --request POST \
  --url https://api.streamkap.com/kafka-access/kafka-users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>",
  "whitelist_ips": "<string>",
  "kafka_acls": [],
  "password": "<string>"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create Kafka User Body

username
string
required
password
string
required
whitelist_ips
string | null
kafka_acls
KafkaAclModel · object[]

Response

Successful Response

The response is of type any.