> ## 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.

# Change a Managed Kafka cluster's user's ACLs

> Replaces the user's ACLs. Its password stays the same, so clients using it keep working with the new ACLs. Returns 409 while the user is being deleted. Company admins only.



## OpenAPI

````yaml https://raw.githubusercontent.com/artie-labs/artie-api-spec/refs/heads/master/openapi.yaml patch /kafka-clusters/{uuid}/managed-users/{userUUID}
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/{userUUID}:
    patch:
      tags:
        - Kafka clusters
      summary: Change a Managed Kafka cluster's user's ACLs
      description: >-
        Replaces the user's ACLs. Its password stays the same, so clients using
        it keep working with the new ACLs. Returns 409 while the user is being
        deleted. Company admins only.
      operationId: kafka_managed_user_update
      parameters:
        - in: path
          name: userUUID
          required: true
          schema:
            type: string
        - in: path
          name: uuid
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RouterManagedKafkaUserACLsRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayloadsManagedKafkaUser'
          description: OK
        '400':
          description: Bad Request
        '404':
          description: Not Found
        '409':
          description: Conflict
        '500':
          description: Internal Server Error
components:
  schemas:
    RouterManagedKafkaUserACLsRequest:
      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'
      required:
        - acls
      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
    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
    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.