ndex_delete_user | 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
# ndex_delete_user(ndexcon, userId)
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.