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

# Delete a user document



## OpenAPI

````yaml /api-reference/workspace.yaml delete /v2/users/{userId}/documents/{id}
openapi: 3.0.0
info:
  title: Tarefy API
  description: >-
    Tarefy REST API — task management, culture and performance platform.


    Endpoints are versioned at `/v2/...`. Authentication via Bearer JWT in the
    `Authorization` header.


    To get started, see the [authentication guide](/authentication) and the
    [quickstart](/quickstart).
  version: 2.0.0
  contact:
    name: Tarefy Support
    email: suporte@tarefy.com
    url: https://tarefy.com
  license:
    name: Proprietary
    url: https://tarefy.com
servers:
  - url: https://app.tarefy.com/nodeapi
    description: Production
security:
  - bearerAuth: []
tags:
  - name: User Data
    description: User personal data
  - name: User Profile
    description: Extended profile
  - name: User Documents
    description: Documents attached to the user
  - name: User Permissions
    description: User granular permissions
  - name: Teams
    description: Teams (user groups)
  - name: Orgchart
    description: Company organizational chart
  - name: Job Positions
    description: Available positions
  - name: Public EAP
    description: Public endpoints of the WBS
paths:
  /v2/users/{userId}/documents/{id}:
    delete:
      tags:
        - User Documents
      summary: Delete a user document
      parameters:
        - name: userId
          in: path
          required: true
          schema:
            type: string
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Documento excluído com sucesso
          content:
            application/json:
              schema:
                type: object
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````