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

# Remove Member

> Remove a member from a group DM conversation (admin-only).

URL uses audience_id (the ConversationAudience row UUID). The router fetches
the audience row by ID to resolve contact_id, then delegates to
ConversationsService.remove_member(). This is Option A per the spec.

Returns 204 No Content on success.
Returns 403 when the caller is not an admin or not a member.
Returns 422 when the conversation is a 1:1 DM.
Returns 404 when the conversation or audience row does not exist.



## OpenAPI

````yaml /openapi/mio-openapi.json delete /api/v1/conversations/{id}/audiences/{audience_id}
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/conversations/{id}/audiences/{audience_id}:
    delete:
      tags:
        - community-conversations
      summary: Remove Member
      description: >-
        Remove a member from a group DM conversation (admin-only).


        URL uses audience_id (the ConversationAudience row UUID). The router
        fetches

        the audience row by ID to resolve contact_id, then delegates to

        ConversationsService.remove_member(). This is Option A per the spec.


        Returns 204 No Content on success.

        Returns 403 when the caller is not an admin or not a member.

        Returns 422 when the conversation is a 1:1 DM.

        Returns 404 when the conversation or audience row does not exist.
      operationId: >-
        community_conversations.delete_community_conversations_delete_conversations_by_id_audiences_by_audience_id
      parameters:
        - in: path
          name: id
          required: true
          schema:
            title: Id
            type: string
        - in: path
          name: audience_id
          required: true
          schema:
            title: Audience Id
            type: string
      responses:
        '204':
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````