SDK reference · Python SDK
prov.attest.devices
prov.attest.devices in the Python SDK: 4 methods. The attest.devices methods.
Methods
enrollment_challenge
prov.attest.devices.enrollment_challenge() -> AnyA single-use challenge for a phone's key attestation before it enrolls.
Calls POST /v1/attest/devices/enrollment_challenge.
enroll
prov.attest.devices.enroll(**body: Any = …) -> AnyEnrolls a phone in your key's own carrier; the server assigns its hardware tier.
Calls POST /v1/attest/devices.
list
prov.attest.devices.list(revoked: Optional[bool] = …, limit: Optional[int] = …, cursor: Optional[str] = …) -> AnyThe devices enrolled in your key's carrier.
Calls GET /v1/attest/devices.
revoke
prov.attest.devices.revoke(device_id: str, reason: Optional[str] = …) -> AnyRevokes a device in your key's carrier.
Calls POST /v1/attest/devices/{id}/revoke.