Skip to content

Forget the saved owner

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

Preview, owner only. Removes owner.json and goes back to BOX_OWNER, or to no owner.

The owner now, or null.

Media typeapplication/json
One of:
null

Example generated

{
"user": "example",
"uid": 1,
"home": "example"
}

The owner’s route, called by someone who is not the box’s own screen or a device paired as the owner.

Media typeapplication/json
object
error
required

What went wrong

string

Example

{
"error": "only the box's own screen or the owner's paired device can do this"
}

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