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_DeleteDocumentFileremoved and replaced withdocumentFiles_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
- info
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning