curl --request PUT \
--url https://api.helpyousponsor.com/v1/file/{id} \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"id": 1,
"file_name": "<string>",
"type": "image",
"permissions": "donor"
}
'{
"message": "Successfully Edited File"
}API key generated from Developer Settings. Format: hys_...
ID of the file to be edited
File data that needs to be updated
Successfully Edited File
"Successfully Edited File"
curl --request PUT \
--url https://api.helpyousponsor.com/v1/file/{id} \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"id": 1,
"file_name": "<string>",
"type": "image",
"permissions": "donor"
}
'{
"message": "Successfully Edited File"
}