Skip to main content
POST
Convidar pessoa

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json
email
string
obrigatório
Required string length: 3 - 320
password
string
obrigatório

Pelo menos 12 caracteres.

Required string length: 12 - 1024
roles
BindingIn · object[]
obrigatório
Required array length: 1 - 32 elements
with_totp
boolean
padrão:true

Cria um segredo TOTP e devolve o endereço de cadastro uma vez só.

Resposta

A pessoa, com o endereço de cadastro quando o segundo fator foi pedido.

active
boolean
obrigatório
email
string
obrigatório
roles
BindingOut · object[]
obrigatório
user_id
string<uuid>
obrigatório
last_login_at
string<date-time> | null
totp_uri
string | null

Aparece uma vez só, na criação, para cadastrar o segundo fator.