AuthN | Python SDK | Invite Endpoints
Invite Endpoints
Invite User
authn.user.invite(inviter, email, callback, state)Send an invitation to a user.
response = authn.user.invite(
inviter="admin@email.com",
email="joe.user@email.com",
callback="/callback",
state="pcb_zurr3lkcwdp5keq73htsfpcii5k4zgm7"
)
Delete Invite
authn.user.invites.delete(id)Delete a user invitation.
authn.user.invites.delete(
id="pmc_wuk7tvtpswyjtlsx52b7yyi2l7zotv4a",
)
List Invites
authn.user.invites.list(filter, last, order, order_by, size)Look up active invites for the userpool.
response = authn.user.invites.list()