Skip to main content
POST
Upload a file

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

type
string
required

Type of the file (entity or donor)

id
integer
required

ID of the entity or donor

Body

multipart/form-data

File to be uploaded

file
file

File to be uploaded

Response

Successful operation

message
string
Example:

"Successful"