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

# Detach a Dashboard Viewer

> Remove this user's read-only access to one owner-linked organization. The user's identity and access to other organizations are preserved. Existing compact tokens and exchanged bearer tokens for this relationship stop authorizing requests. Repeating the request is idempotent.




## OpenAPI

````yaml /openapi.yaml delete /organizations/{organization_id}/dashboard-viewers/{external_id}
openapi: 3.0.0
info:
  title: Answering Agent API
  description: API for Answering Agent platform
  version: 1.0.0
servers:
  - url: https://answeringagent.com/api/v1
    description: Production API
  - url: https://playground.answeringagent.com/api/v1
    description: Playground API
security: []
paths:
  /organizations/{organization_id}/dashboard-viewers/{external_id}:
    delete:
      tags:
        - Organizations
        - Users
      summary: Detach a Dashboard Viewer
      description: >
        Remove this user's read-only access to one owner-linked organization.
        The user's identity and access to other organizations are preserved.
        Existing compact tokens and exchanged bearer tokens for this
        relationship stop authorizing requests. Repeating the request is
        idempotent.
      operationId: detachOrganizationDashboardViewer
      parameters:
        - in: path
          name: organization_id
          required: true
          schema:
            type: integer
          description: ID of the owner-linked organization
        - in: path
          name: external_id
          required: true
          schema:
            type: string
          description: External ID of a user provisioned by your partner account
      responses:
        '204':
          description: Viewer detached, or no active relationship remained.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: User or organization is not visible to this partner.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: User not found
        '422':
          $ref: '#/components/responses/ValidationError'
      security:
        - ApiKeyAuth: []
components:
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: API key is required
                enum:
                  - API key is required
                  - Invalid credentials
    ValidationError:
      description: Validation failed.
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              errors:
                type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````