Activate an invited account in one call

Collapses login-then-challenge into a single request: the temporary
password from the invitation email authenticates, and the chosen
password answers the NEW_PASSWORD_REQUIRED challenge that comes
back. Anything but that challenge (tokens included, meaning the
temporary password was already replaced) is 401 Invalid credentials.

On success the platform row is set to ACTIVE, on the same terms as
POST /api/auth/new-password, and the temporary password is spent.

Body Params
string
required
length ≥ 1
string
required
length ≥ 1

The temporary password from the invitation email. Spent on use:
Cognito invalidates it the moment the account is activated.

string
required
length ≥ 1
Headers
string
required
^\d+\.\d+\.\d+$

The version of the Quant Flow API the request follows, as major.minor.patch (for example 1.0.0). The request is interpreted, and the response shaped, according to that version.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json