Delete a document
Deletes a specified document from the system, identified by its unique TPA ID and document ID. This operation is typically used to remove outdated or unnecessary documents from the document management system.
Request
-
tpaId string Required
A unique identifier used to identify your admin instance. This value is system generated when the admin instance was created.
-
documentId string Required
Document Id
-
isLegacyDocument boolean
Indicates whether the document is a legacy document. Set to
trueif it is a legacy document; otherwise, set tofalse. -
refresh boolean
Determines the response behavior after deletion. Set to
trueto return the updated list of documents after deletion; set tofalseto return an empty response. -
decrypt integer <int32>
Indicate if the URI parameters are encrypted or not. Use 1 for encrypted, 0 for decrypted (default is 0). This affects how the API interprets the incoming identifiers.
Response
-
array <object>
-
DocumentKey integer <int32>
-
TpaId string
-
DocumentId string
-
DocumentName string
-
Description string
-
DocumentPostDate string <date-time>
-
ExpireDate string <date-time>
-
CategoryId string
-
CategoryName string
-
DisplayOrder integer <int32>
-
AudienceId string
-
AudienceName string
-
DocumentFileKey integer <int32>
-
FileDetails object
-
DocumentFileKey integer <int32>
-
ContentLength integer <int32>
-
ContentType string
-
FileName string
-
InputStream string <byte>
-
Base64 string
-
FileFormat enum<string>Possible values:
AllUnknownFixedCsvXmlPdfQifExcelJpegGifBmpFixedNachaDelimitedWordPngTiffExtFileFormat
-
-
LastUpdateDate string <date-time>
-
Employers array <object>
-
TpaId string
-
EmprId string
-
EmprName string
-
-
isLegacyDocument boolean
-
AssignedOption enum<string>Possible values:
NoneHiddenAllEmployerSelectedEmployerDocumentAudienceAll
-
-
array <object>
-
DocumentKey integer <int32>
-
TpaId string
-
DocumentId string
-
DocumentName string
-
Description string
-
DocumentPostDate string <date-time>
-
ExpireDate string <date-time>
-
CategoryId string
-
CategoryName string
-
DisplayOrder integer <int32>
-
AudienceId string
-
AudienceName string
-
DocumentFileKey integer <int32>
-
FileDetails object
-
DocumentFileKey integer <int32>
-
ContentLength integer <int32>
-
ContentType string
-
FileName string
-
InputStream string <byte>
-
Base64 string
-
FileFormat enum<string>Possible values:
AllUnknownFixedCsvXmlPdfQifExcelJpegGifBmpFixedNachaDelimitedWordPngTiffExtFileFormat
-
-
LastUpdateDate string <date-time>
-
Employers array <object>
-
TpaId string
-
EmprId string
-
EmprName string
-
-
isLegacyDocument boolean
-
AssignedOption enum<string>Possible values:
NoneHiddenAllEmployerSelectedEmployerDocumentAudienceAll
-
No response yet.
No response yet.