Set/change a device capability from a php website

You might want to checkout the REST api.