curl --request PUT \
--url https://api.helpyousponsor.com/v1/file/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"file_name": "<string>",
"type": "image",
"permissions": "donor"
}
'{
"message": "Successfully Edited File"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"file_name": "<string>",
"type": "image",
"permissions": "donor"
}
'{
"message": "Successfully Edited File"
}