curl --request DELETE \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/file/{client_id}/{program_id}/{id}/{entity_id}/{session_id} \
--header 'session_id: <api-key>'
{
"status": "success",
"redirect": "/frontend/donor_upload/{client_id}/{program_id}/{entity_id}/{session_id}"
}
Use a session id to authenticate
The ID of the client
The ID of the program
The ID of the file to delete
The ID of the entity
The ID of the session
Success
The response is of type object
.
curl --request DELETE \
--url https://api.helpyousponsor.com/v1/frontend/donor/dashboard/file/{client_id}/{program_id}/{id}/{entity_id}/{session_id} \
--header 'session_id: <api-key>'
{
"status": "success",
"redirect": "/frontend/donor_upload/{client_id}/{program_id}/{entity_id}/{session_id}"
}