v1

latestOpenAPI 3.1.0Apache 2.02026-07-17870411.0 KB
User

Execute a command as the specified user

Executes a command on the system as the specified user (private API)

post/api/user/run_command

Headers

X-EDH-USERstring required

EDH username to execute command as

Response

Command executed successfully

successboolean
messagestring

Command output

Example response

{
  "success": true,
  "message": "total 4 drwxr-xr-x 3 root root 4096 Jan 1 12:00 user.name"
}