# prov.attest.devices

prov.attest.devices in the Node SDK: 4 methods. The attest.devices methods.

## Methods

### [list](https://provenanceauth.com/docs/sdks/node/attest-devices/list.md)

```ts
prov.attest.devices.list(params?: ListDevicesParams): Promise<ListResponse<DeviceRecord>>
```

The devices enrolled in your key's carrier.

Calls `GET /v1/attest/devices`.

### [enrollmentChallenge](https://provenanceauth.com/docs/sdks/node/attest-devices/enrollment-challenge.md)

```ts
prov.attest.devices.enrollmentChallenge(): Promise<EnrollmentChallenge>
```

A challenge for the key attestation of a phone about to enroll (single use, short-lived).

Calls `POST /v1/attest/devices/enrollment_challenge`.

### [enroll](https://provenanceauth.com/docs/sdks/node/attest-devices/enroll.md)

```ts
prov.attest.devices.enroll(params?: EnrollParams): Promise<DeviceRecord>
```

Enrolls a phone in your key's carrier; the server assigns its hardware tier.

Calls `POST /v1/attest/devices`.

### [revoke](https://provenanceauth.com/docs/sdks/node/attest-devices/revoke.md)

```ts
prov.attest.devices.revoke(deviceId: string, params: RevokeParams): Promise<DeviceRecord>
```

Revokes a device in your key's carrier.

Calls `POST /v1/attest/devices/{id}/revoke`.
