Generate Recovery Codes
Generate new Recovery Codes for the user and return an array of the new codes.
Headers
-
Content-Type string
-
Accept string
POST /api/v1/me/otp/new-recovery-codes
curl \
-X POST https://api.plannrcrm.com/api/v1/me/otp/new-recovery-codes \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response examples (200)
{
"recovery_codes": [
"aQMsEIemjG-IJ3gJ62HvD",
"c1yhFC1M6C-EdVyYV53WT",
"eNwwEqQaLU-aI5zuQvboC",
"uIZ6UHO99o-8c60K0oWU3",
"toDE3WxjZX-RzFZs8Xaug",
"PeavtQxD7t-lYK1ANfmTm",
"yioLzJiTST-myEdpm3riA",
"IqOoqRAAsr-cgSdXXwpy5"
]
}