# strazactl devices revoke

Revoke a device enrollment (it stops starting sessions)


## Synopsis

Removes the device enrollment: the machine's key can no longer start sessions,
sessions bound to the device stop refreshing, and a live enforcement kit on it is
stood down by push. The user is untouched: they enroll the machine, or a
replacement, again with `straza enroll` and a fresh sign-in. For a person-level
cut, use `users disable` or `users lock`.

```
strazactl devices revoke <username> <device-id> [flags]
```

## Options inherited from parent commands

```
      --server string   strazad base URL (overrides $STRAZA_SERVER)
```

## See also

* [strazactl devices](https://docs.straza.ai/reference/cli/strazactl/strazactl_devices/index.md): Inspect and revoke a user's enrolled devices



