Project

General

Profile

How to use API to editor user data and password ?

Added by jeantean lin over 8 years ago

Dear All :

We have a member manager system develop by PHP.
We have use the /api/access/entry/create to create new user
and /api/passwd/entry/create to create new password.
we can use the /api/access/entry/grid to get user's uuid

Is anyone know how to edit user data ane password by API ?

We have got tvheadend all source code below :

{ "passwd/entry/class",  ACCESS_ADMIN, api_idnode_class, (void*)&passwd_entry_class },
    { "passwd/entry/grid",   ACCESS_ADMIN, api_idnode_grid, api_passwd_entry_grid },
    { "passwd/entry/create", ACCESS_ADMIN, api_passwd_entry_create, NULL },
{ "ipblock/entry/class",  ACCESS_ADMIN, api_idnode_class, (void*)&ipblock_entry_class },
    { "ipblock/entry/grid",   ACCESS_ADMIN, api_idnode_grid, api_ipblock_entry_grid },
    { "ipblock/entry/create", ACCESS_ADMIN, api_ipblock_entry_create, NULL },
{ "access/entry/class",  ACCESS_ADMIN, api_idnode_class, (void*)&access_entry_class },
    { "access/entry/userlist", ACCESS_ANONYMOUS, api_access_entry_userlist, NULL },
    { "access/entry/grid",   ACCESS_ADMIN, api_idnode_grid, api_access_entry_grid },
    { "access/entry/create", ACCESS_ADMIN, api_access_entry_create, NULL },

but no any api for edit(update).