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

# Remove delegate(s) from a report

> Soft-delete one or more delegates for the report. Send a JSON body with `ids`: a list of delegate IDs to remove (e.g. `{"ids": [1, 2]}`). Only non-deleted delegates for this report are removed.



## OpenAPI

````yaml delete /api/2.0/reports/{id}/delegates/
openapi: 3.1.0
info:
  contact:
    name: Elation Health
    url: https://www.elationhealth.com/
  description: Elation Health API v2.0
  title: Patient Document API
  version: 2.0.0
servers:
  - description: Sandbox Server
    url: https://sandbox.elationemr.com
  - description: Production Server
    url: https://api.app.elationemr.com
security: []
paths:
  /api/2.0/reports/{id}/delegates/:
    delete:
      tags:
        - Reports
      summary: Remove delegate(s) from a report
      description: >-
        Soft-delete one or more delegates for the report. Send a JSON body with
        `ids`: a list of delegate IDs to remove (e.g. `{"ids": [1, 2]}`). Only
        non-deleted delegates for this report are removed.
      operationId: reports_delegates_destroy
      parameters:
        - description: The report ID.
          in: path
          name: id
          required: true
          schema:
            type: integer
      responses:
        '204':
          description: No response body
        '400':
          content:
            application/json:
              schema:
                additionalProperties: {}
                type: object
          description: ''
        '404':
          content:
            application/json:
              schema:
                additionalProperties: {}
                type: object
          description: ''
      security:
        - oauth2: []
components:
  securitySchemes:
    oauth2:
      flows:
        clientCredentials:
          scopes:
            act_as_user: >-
              Impersonate a provider via X-On-Behalf-Of (combinable with apiv2
              or system scopes)
            apiv2: Full access to the API
            system/{resource_name}.read: Read access to a specific resource
            system/{resource_name}.write: Write access to a specific resource
          tokenUrl: /api/2.0/oauth2/token/
      type: oauth2

````