KuyoDynamics / SILCServer

API for SILC/Village Banking Applications written in nodejs
MIT License
2 stars 1 forks source link

Partial Updates: Improve API for Updating Single Properties #19

Open chaiwa-berian opened 5 years ago

chaiwa-berian commented 5 years ago

The format for updating a single property is the same as when you are updating a complete object, just with only 1 property in the JSON file, i.e.:

curl -X PATCH -d "{\"name\": \"New Name\"}" -H "Content-Type: application/json" -u username:password https://silcserver.org/dev/api/silcgroups/fbfJHSPpUQD/name