auth

Complete New Password

post/auth/complete-new-password

Request

  • Base URL
    https://api.verdun.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.verdun.ai/auth/complete-new-password
  • Auth
    none declared

Request body

emailstring email required

Email address of the invited operator

sessionstring required

Cognito session returned by the NEW_PASSWORD_REQUIRED login challenge

new_passwordstring required

The operator's chosen permanent password

Response

Successful Response

user_idstring uuid required

Authenticated user's unique ID (UUID).

access_tokenstring nullable

Short-lived access token (JWT).

id_tokenstring nullable

Identity token (JWT) for client-side identity.

refresh_tokenstring nullable

Refresh token used to obtain new access tokens.

expires_ininteger nullable

Seconds until the access token expires.

challengestring nullable

A Cognito challenge that must be completed before tokens are issued.

sessionstring nullable

Opaque Cognito session for completing the challenge.

Example response

{
  "user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "access_token": "eyJhbGciOi...access",
  "id_token": "eyJhbGciOi...id",
  "refresh_token": "def50200...",
  "expires_in": 3600,
  "challenge": "NEW_PASSWORD_REQUIRED"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.