companyFiles
Deletes the specified company file and its versions.
Changed on<Check title="Required Permissions" icon="key">Any authenticated user.</Check>
delete/companies/{companyId}/files/{fileId}
Request
- Base URLhttps://api.awork.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring uuid required
The company id.
fileIdstring uuid required
The file id.
Response
No Content
object required
Changes
- info
api operation id
companyFiles_DeleteCompanyFileremoved and replaced withcompanyFiles_DeleteFilesByCompanyNameAndCompanyIdAndFileId - 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