Skip to main content
POST
Enable two-factor

Authorizations

Authorization
string
header
required

A bearer token obtained through one of the two flows below.

Body

application/vnd.api+json

A document creating one resource. No id: we mint it, and sending one is refused with 403.

data
object
required

Response

On, with the recovery code.

A JSON:API document holding one resource.

data
object
required
included
object[]