/dashboard/mfa/enrollment
POST
/dashboard/mfa/enrollment
const url = 'https://example.com/dashboard/mfa/enrollment';const options = { method: 'POST', headers: { cookie: 'orilla_session=<orilla_session>', 'Content-Type': 'application/json' }, body: '{"password":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/dashboard/mfa/enrollment \ --header 'Content-Type: application/json' \ --cookie orilla_session=<orilla_session> \ --data '{ "password": "example" }'Authorizations
Sección titulada «Authorizations»Request Bodyrequired
Sección titulada «Request Bodyrequired»Media typeapplication/json
object
password
required
string
Example generated
{ "password": "example"}Responses
Sección titulada «Responses»Default Response
Media typeapplication/json
object
id
required
string
secret
required
string
uri
required
string
qr_data_url
required
string
expires_at
required
string
Example generated
{ "id": "example", "secret": "example", "uri": "example", "qr_data_url": "example", "expires_at": "example"}