View as Markdown

SDK reference · Python SDK

prov.mandate.device_enrolments

prov.mandate.device_enrolments in the Python SDK: 4 methods. The mandate.device_enrolments methods.

Methods

create

prov.mandate.device_enrolments.create(display_name: str, reference: Optional[str] = …, expires_in: Optional[int] = …) -> Any

A link for one person to enroll their phone with a passkey (201).

Calls POST /v1/mandate/device_enrollments.

get

prov.mandate.device_enrolments.get(enrollment_id: str) -> Any

The state and, once enrolled, device_id, the device to name on the person's grant.

Calls GET /v1/mandate/device_enrollments/{id}.

list

prov.mandate.device_enrolments.list(status: Optional[str] = …, reference: Optional[str] = …, limit: Optional[int] = …, cursor: Optional[str] = …) -> Any

Calls GET /v1/mandate/device_enrollments.

revoke

prov.mandate.device_enrolments.revoke(enrollment_id: str) -> Any

The link stops working and the device it enrolled is revoked.

Calls POST /v1/mandate/device_enrollments/{id}/revoke.

Was this page helpful? Send us feedback

LLM? Read llms.txt.