> ## Documentation Index
> Fetch the complete documentation index at: https://artie.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Managed Kafka cluster's user

> Creates an extra Kafka login with the chosen ACLs and returns its password once Strimzi makes it live, normally within seconds. Company admins only.



## OpenAPI

````yaml https://raw.githubusercontent.com/artie-labs/artie-api-spec/refs/heads/master/openapi.yaml post /kafka-clusters/{uuid}/managed-users
openapi: 3.1.0
info:
  description: External API endpoints for Artie
  title: Artie API
  version: v1.0.200
servers:
  - url: https://api.artie.com
security:
  - ApiKey: []
paths:
  /kafka-clusters/{uuid}/managed-users:
    post:
      tags:
        - Kafka clusters
      summary: Create a Managed Kafka cluster's user
      description: >-
        Creates an extra Kafka login with the chosen ACLs and returns its
        password once Strimzi makes it live, normally within seconds. Company
        admins only.
      operationId: kafka_managed_user_create
      parameters:
        - in: path
          name: uuid
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RouterManagedKafkaUserRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/RouterManagedKafkaUserWithPasswordResponse
          description: OK
        '400':
          description: Bad Request
        '404':
          description: Not Found
        '409':
          description: Conflict
        '500':
          description: Internal Server Error
components:
  schemas:
    RouterManagedKafkaUserRequest:
      properties:
        acls:
          description: What the user can do. Kafka refuses it everything else.
          items:
            $ref: '#/components/schemas/PayloadsKafkaUserACL'
          maxItems: 50
          minItems: 1
          type:
            - array
            - 'null'
        username:
          description: >-
            Lowercase letters, digits, '.' and '-', at most 64 characters. admin
            and artie are the built-in logins.
          type: string
      required:
        - username
        - acls
      type: object
    RouterManagedKafkaUserWithPasswordResponse:
      properties:
        password:
          description: >-
            Left out while Strimzi hasn't made it live yet; get it from the
            credentials endpoint.
          type: string
        user:
          $ref: '#/components/schemas/PayloadsManagedKafkaUser'
        warning:
          type: string
      required:
        - user
      type: object
    PayloadsKafkaUserACL:
      properties:
        name:
          description: Empty for the cluster, which is one resource.
          type: string
        operation:
          $ref: '#/components/schemas/EnumsKafkaACLOperation'
        patternType:
          $ref: '#/components/schemas/EnumsKafkaACLPatternType'
          description: >-
            literal matches name exactly, and "*" is every name; prefix matches
            names starting with it.
        resourceType:
          $ref: '#/components/schemas/EnumsKafkaACLResourceType'
      required:
        - resourceType
        - patternType
        - name
        - operation
      type: object
    PayloadsManagedKafkaUser:
      properties:
        acls:
          items:
            $ref: '#/components/schemas/PayloadsKafkaUserACL'
          type: array
        createdAt:
          format: date-time
          type: string
        username:
          type: string
        uuid:
          format: uuid
          type: string
      required:
        - uuid
        - username
        - acls
        - createdAt
      type: object
    EnumsKafkaACLOperation:
      enum:
        - Read
        - Write
        - Create
        - Delete
        - Alter
        - Describe
        - DescribeConfigs
        - AlterConfigs
        - IdempotentWrite
        - All
      type: string
    EnumsKafkaACLPatternType:
      enum:
        - literal
        - prefix
      type: string
    EnumsKafkaACLResourceType:
      enum:
        - topic
        - group
        - transactionalId
        - cluster
      type: string
  securitySchemes:
    ApiKey:
      description: API key passed as a Bearer token in the Authorization header.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.