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

# Detach Access List from Group

> Detach an access list from a group. API keys in the group fall back to the group default access list, then the organization approved models. Succeeds even if the access list is not attached to the group. Requires an API key with write manage permissions.

Detach an access list from a group. API keys in the group fall back to the group default access list, then the organization Approved Models. The call succeeds even if the list is not attached to the group.

[Access Lists docs →](https://docs.requesty.ai/features/access-lists.md#attach-an-access-list-to-a-group)


## OpenAPI

````yaml DELETE /v1/manage/group/{group_id}/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/group/{group_id}/access-list/{access_list_id}:
    servers:
      - url: https://api-v2.requesty.ai
        description: Management API endpoint
    delete:
      summary: Detach access list from group
      description: >-
        Detach an access list from a group. API keys in the group fall back to
        the group default access list, then the organization approved models.
        Succeeds even if the access list is not attached to the group. Requires
        an API key with write manage permissions.
      operationId: detachGroupAccessList
      parameters:
        - name: group_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The group ID
          example: 123e4567-e89b-12d3-a456-426614174000
        - name: access_list_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The access list ID
          example: 7c9e6679-7425-40de-944b-e07fc1f90ae7
      responses:
        '200':
          description: Access list detached from the group successfully
        '400':
          description: Bad request - invalid group ID or access list ID.
          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'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    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

````

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