Skip to content

Get the box's owner

GET
/owner
curl --request GET \
--url http://127.0.0.1:7700/api/owner \
--header 'Authorization: Bearer <token>'

Preview. On a GurtOS Personal box, the owner’s Linux user, uid and home folder. On a Server box, null.

The owner, or null.

Media typeapplication/json
One of:
null

Example

{
"user": "alex",
"uid": 1000,
"home": "/home/alex"
}

GurtOS is open source under the Apache License 2.0.Source code on GitHub.