Current Identity
MFA
Disable MFA for the current identity
Changed onDisable MFA for the current identity. Requires a current valid time based one time password if MFA enrollment has been completed. If not, code should be an empty string. If one time passwords are not available and admin account can be used to remove MFA from the identity via DELETE /identities/<id>/mfa.
delete/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.
Headers
mfa-validation-codestring
Response
Base empty response
Example response
{
"data": {},
"meta": {
"apiEnrollmentVersion": "apiEnrollmentVersion",
"apiVersion": "apiVersion",
"filterableFields": [
"filterableFields",
"filterableFields"
],
"pagination": {
"limit": 0.8008281904610115,
"offset": 6.027456183070403,
"totalCount": 1.4658129805029452
}
}
}Changes
- 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