User management

Activate user

This route activates a non-activated user. You can use it to create your own activation flow. Send the frontegg-vendor-host as a header to declare which vendor. This is your domain name in the Frontegg Portal ➜ Workspace Settings ➜ Domains ➜ Domain Name. Send the required userId and activation token in the POST body. For generating an activation token, see the route under users for generating an activation token. If the vendor's sign in flow requires a password or recaptcha, send those values in the POST body. Instead of this route, consider using our email template for user activation.

post/resources/users/v1/activate

Request

Headers

frontegg-vendor-hoststring required

Request body

userIdstring required
tokenstring required
passwordstring
recaptchaTokenstring
lastTermsCheckstring

Response

tokenTypestring
mfaRequiredboolean required
mfaTokenstring
mfaEnrolledboolean
mfaStrategiesobject
qrCodestring
recoveryCodestring
accessTokenstring required
refreshTokenstring required
expiresInnumber required
expiresstring required
userIdstring
userEmailstring
emailVerifiedboolean
isBreachedPasswordboolean

Changes

No recorded changes to this operation across all 1 revision of this API.