POST/api/v2/identities/{id}/sign-in-expectations
security:manageConsole session only
Add an account to the person by the sign-in method and the email of the account. Needs every permission the person holds in each of their organizations and a second factor.
Parameters
Path1 required of 1
idstringpathrequired
Identity ID (UUID)
Request body application/json · CreateSignInExpectationRequest
Required2 of 2 fields
method_idstringrequired
emailstringrequired
Responses
201
The expected account
SignInExpectationResponse · 4 fields
idstring · uuidrequired
method_idstringrequired
emailstringrequired
created_atstring · date-timerequired
400
The method is not a sign-in method of the installation, or the email is not an address.
401
Authentication required
409
The account is already added to another person.
Common errors: 403 404 413 429 504. They mean the same for every operation, see Errors.