ndex_delete_user {ndexr} | R Documentation |
Deletes the authenticated user, removing any other objects in the database that depend on the user
ndex_delete_user(ndexcon, userId)
ndexcon |
object of class NDExConnection linkndex_connect |
userId |
character; unique ID (UUID) of the user |
NULL if successfull, else an error is thrown
GET: ndex_config$api$user$delete
Requires an authorized user! (ndex_connect with credentials)
Compatible to NDEx server version 2.0
## Establish a server connection with credentials # ndexcon = ndex_connect('MyAccountName', 'MyPassword') ## Find user and get its id # user = ndex_find_user_byName(ndexcon, 'SomeUserName') # userId = user$externalId ## Delete user # ndexr.delete.user(ndexcon, userId) NULL