---
name: "libnvme_sed_revert_tper-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_sed_revert_tper-libnvme3"
---

# libnvme\_sed\_revert\_tper-libnvme3(2)

Revert the TPer to its factory state

## NAME

libnvme\_sed\_revert\_tper - Revert the TPer to its factory state

## SYNOPSIS

**int libnvme\_sed\_revert\_tper** **(struct libnvme\_transport\_handle \*hdl** *,* **const struct libnvme\_sed\_key \*key** *);*

## ARGUMENTS

- hdl

  Transport handle

- key

  SID password

## DESCRIPTION

This erases all user data.

## RETURN

See the return value convention above.
