v1

latestOpenAPI 3.1.02026-08-063776831.4 MB
Facility

Update or Delete a supporting document for a facility

Update or Delete a supporting document for a facility

put/facilities/{id}/supporting-documents

Path parameters

idstring required

Facility ID

Headers

tenant-idstring

Request body

fileUrlstring required

URL of the supporting document file

fileTypestring

Type of the supporting document

originalFileNamestring

Original name of the uploaded file

createdAtstring date
createdBystring

Email of the user who created the document

statestring

State associated with the document

expirationDatestring date
sourcestring

Source of the document

Example request

[
  {
    "fileUrl": "https://storage.example.com/documents/certificate.pdf",
    "fileType": "PDF",
    "originalFileName": "facility_license.pdf",
    "createdBy": "user@example.com",
    "state": "CA",
    "source": "manual"
  }
]

Response

Supporting documents deleted successfully