Ploi API

Get system user

Get a system user from your server

GET api/servers/{server}/system-users/{systemUser}

Example request:

curl -X GET "https://ploi.io/api/servers/{server}/system-users/{systemuser}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": {
        "id": 1,
        "name": "customer",
        "root": "/home/customer",
        "created_at": "2020-01-01 12:00:00"
    }
}