documentFiles

Deletes the specified document file and its versions.

Changed on

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

delete/documents/{documentId}/files/{fileId}

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/documents/{documentId}/files/{fileId}
  • Auth: HTTP bearer

Path parameters

documentIdstring uuid required

The document id.

fileIdstring uuid required

The file id.

Response

No Content

object required

Changes

    • info

      api operation id documentFiles_DeleteDocumentFile removed and replaced with documentFiles_DeleteFilesByDocumentNameAndDocumentIdAndFileId

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API