Skip to main content
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>",
  "password": "<string>",
  "whitelist_ips": "<string>",
  "kafka_acls": []
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

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