Trash Document

Moves the specified document to the trash for the requesting user.

  • If the document is shared or part of a team folder, other users will still have access to the document.
  • Requires the user to be the owner of the requested document or have the appropriate team folder permissions.

Valid Authentication Methods

API Key Grants:

  • DocumentEdit

OAuth 2.0 User Token Scopes:

  • lucidchart.document.content
  • lucidchart.document.app.folder
  • lucidscale.document.content
  • lucidscale.document.app.folder
  • lucidspark.document.content
  • lucidspark.document.app.folder

Path Params
uuid
required
Headers
string
required
Defaults to 1
Responses
204

No Content when the document is successfully moved into the trash or is already trashed.

403

Forbidden. if the app making the request does not have permission to the document, or if the document has been deleted or does not exist.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!