End-of-Life (EoL)

Delete a User from a Node

Follow these instructions to delete a user from a node through an API call.
Follow these steps to delete a user from a node.
  1. Open a command line window.
  2. Make the following API call.
    curl --request POST \ --url https://<SERVER>:<PORT>/users/delete\ --header 'Remote-Database-Authorization: <base64-DB-SECRET>' \ --header 'content-type: application/json' \ --data '{ "ids": ["userID"]}'
    Parameter
    Description
    Server
    The hostname or IP address of the database server node.
    Port
    The port through which you are connecting. Do not include the http or https prefix.
    Remote-Database-Authorization
    The header you need to provide to circumvent user authentication.
    DB-SECRET
    The 10-character string that you defined when you installed the main database server.
    When sending the API call, make sure that the string you insert is encoded as base-64.
    id
    The name of the user to delete from the node.
    To get a list of use IDs, make a users/delete call and leave the ids field empty.

Recommended For You