ndex_delete_user: Delete User

View source: R/ndex_users.R

ndex_delete_userR 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
# ndex_delete_user(ndexcon, userId)
NULL

frankkramer-lab/ndexr documentation built on April 4, 2023, 7:19 p.m.