ndex_delete_user {ndexr}R Documentation

Delete User

Description

Deletes the authenticated user, removing any other objects in the database that depend on the user

Usage

ndex_delete_user(ndexcon, userId)

Arguments

ndexcon

object of class NDExConnection linkndex_connect

userId

character; unique ID (UUID) of the user

Value

NULL if successfull, else an error is thrown

REST query

GET: ndex_config$api$user$delete

Note

Requires an authorized user! (ndex_connect with credentials)

Compatible to NDEx server version 2.0

Examples

## 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

[Package ndexr version 1.0.4 Index]