Current Identity
MFA
Returns the current status of MFA enrollment
Changed onReturns details about the current MFA enrollment. If enrollment has not been completed it will return the current MFA configuration details necessary to complete a POST /current-identity/mfa/verify.
get/current-identity/mfa
Request
- Base URLhttps://demo.ziti.dev/edge/client/v1
- Auth
- API key in header zt-session
- or OAuth 2Authorization code/oidc/authorizeToken URL/oidc/tokenScopesopenid
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
The details of an MFA enrollment
Example response
{
"data": {
"_links": {
"key": {
"comment": "comment",
"href": "https://openapi-generator.tech",
"method": "method"
}
},
"createdAt": "2000-01-23T04:56:07.000+00:00",
"id": "id",
"tags": {},
"updatedAt": "2000-01-23T04:56:07.000+00:00",
"isVerified": true,
"provisioningUrl": "provisioningUrl",
"recoveryCodes": [
"recoveryCodes",
"recoveryCodes"
]
},
"meta": {
"apiEnrollmentVersion": "apiEnrollmentVersion",
"apiVersion": "apiVersion",
"filterableFields": [
"filterableFields",
"filterableFields"
],
"pagination": {
"limit": 0.8008281904610115,
"offset": 6.027456183070403,
"totalCount": 1.4658129805029452
}
}
}Changes
- breaking
the response property
/////became nullable for the status
- breaking
- warning
the optional response header
WWW-Authenticateremoved for the status200 - warning
the optional response header
WWW-Authenticateremoved for the status401 - warning
the optional response header
WWW-Authenticateremoved for the status404
- warning