You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disabling User Credential Type (Otp) Rest Call Not Working
#36503
I am making a REST /PUT to the /user/user-id-here endpoint to update a user. This is working fine until it comes to deleting and / or disabling credential types. In particular, I'm wanting to turn Otp off (mfa). In the UserRepresentation object I see the request body property for
disableableCredentialTypes
which takes an array of strings. For the Otp type I'm assuming I'd use
['Otp']
or
['otp']
. I've tried both these options. The api call goes through fine, however, nothing happens to the user's Otp credential types (i.e. they still have Otp enabled).
By chance, does anyone know why this would not be working even though I'm following the api spec?
The request body and the api url - in general, everything working
The user's profile credential type for Otp is not deleted or disabled
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I am making a REST /PUT to the /user/user-id-here endpoint to update a user. This is working fine until it comes to deleting and / or disabling credential types. In particular, I'm wanting to turn Otp off (mfa). In the UserRepresentation object I see the request body property for
which takes an array of strings. For the
Otptype I'm assuming I'd useor
. I've tried both these options. The api call goes through fine, however, nothing happens to the user's Otp credential types (i.e. they still have Otp enabled).
By chance, does anyone know why this would not be working even though I'm following the api spec?
The request body and the api url - in general, everything working
The user's profile credential type for Otp is not deleted or disabled
All reactions