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

# Update Access List

> Update an access list's name, allowed models, or auto-approve setting. All fields are optional — only the fields you include are updated. Requires an API key with write manage permissions.

Update an access list's name, allowed models, or auto-approve setting. All fields are optional — only the fields you include in the request body are updated.


## OpenAPI

````yaml PATCH /v1/manage/access-list/{access_list_id}
openapi: 3.0.3
info:
  title: Requesty Management API
  description: >-
    Requesty Management API for API key management, groups, members, and
    organization settings.
  version: 1.0.0
servers:
  - url: https://api-v2.requesty.ai
    description: Management API endpoint
security:
  - BearerAuth: []
paths:
  /v1/manage/access-list/{access_list_id}:
    servers:
      - url: https://api-v2.requesty.ai
        description: Management API endpoint
    patch:
      summary: Update access list
      description: >-
        Update an access list's name, allowed models, or auto-approve setting.
        All fields are optional — only the fields you include are updated.
        Requires an API key with write manage permissions.
      operationId: updateAccessList
      parameters:
        - name: access_list_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The access list ID
          example: 123e4567-e89b-12d3-a456-426614174000
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAccessListRequest'
      responses:
        '200':
          description: Access list updated successfully
        '400':
          description: Bad request - invalid name or model list, or no fields provided.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - missing or invalid Authorization header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden - API key does not have write manage permissions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found - access list does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    UpdateAccessListRequest:
      type: object
      description: All fields are optional. Only the fields you include are updated.
      properties:
        name:
          type: string
          description: New name for the access list
        auto_approve:
          type: boolean
          description: >-
            Whether new models matching the list patterns are automatically
            approved
        chat:
          type: array
          items:
            type: string
          description: Replace the allowed chat/completion model identifiers
        embedding:
          type: array
          items:
            type: string
          description: Replace the allowed embedding model identifiers
        image:
          type: array
          items:
            type: string
          description: Replace the allowed image generation model identifiers
        transcription:
          type: array
          items:
            type: string
          description: Replace the allowed transcription model identifiers
        speech:
          type: array
          items:
            type: string
          description: Replace the allowed speech model identifiers
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - origin
            - message
          properties:
            origin:
              type: string
              enum:
                - router
                - provider
              description: >-
                Whether the error originated from Requesty's router or an
                upstream provider.
            message:
              type: string
              description: Human-readable error description.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key for authentication

````