Skip to main content
POST
Replace recovery code

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

The new recovery code.

A JSON:API document holding one resource.

data
object
required
included
object[]