Rest/Api: Removing a user's email seems not work
Awaiting Reply
Hello,
I send a request against the rest/api according to the documentation:
https://developers.yellowfinbi.com/dev/api-docs/current/#operation/updateUserAdmin
If I set PATCH with {"emailAddress": ...
- null }, I received 200 OK, but email ist NOT cleared/deleted
- ""}, I received 400 Bad Request
if I change the email together with the first name, only the first name is changed (in the 200 OK case). Unfortunately, it looks like another API error to me ;(
;) Stefan
Version 9.13
Hello Stefan,
My name is Deepak Chaganti from the Yellowfin Technical Support Team. We have received your support request, and I will be your primary contact on the following ticket:
Ticket Number: #31465
Case Title: Rest/Api: Removing a user's email seems not work
Thanks for sharing the details.
Could you please confirm if our main goal here is to remove the email address of an admin user ? or change the email address of the user?
I will try to perform the same operation in Postman on my end.
Sincerely,
Deepak Chaganti
Yellowfin Technical Support Engineer
Hello Stefan,
My name is Deepak Chaganti from the Yellowfin Technical Support Team. We have received your support request, and I will be your primary contact on the following ticket:
Ticket Number: #31465
Case Title: Rest/Api: Removing a user's email seems not work
Thanks for sharing the details.
Could you please confirm if our main goal here is to remove the email address of an admin user ? or change the email address of the user?
I will try to perform the same operation in Postman on my end.
Sincerely,
Deepak Chaganti
Yellowfin Technical Support Engineer
Hi Stefan,
Yes, that is correct.
Even in the UI, we won't be able to leave the email field as 'null':
Could you please let us know the actual requirement of saving email as null so that I can discuss the business requirement with the wider team?
Thanks,
Deepak
Hi Stefan,
Yes, that is correct.
Even in the UI, we won't be able to leave the email field as 'null':
Could you please let us know the actual requirement of saving email as null so that I can discuss the business requirement with the wider team?
Thanks,
Deepak
Hi Stefan,
I have reached out to the wider team with the use case scenario.
I will provide you with an update once I hear back from the team.
Regards,
Deepak
Hi Stefan,
I have reached out to the wider team with the use case scenario.
I will provide you with an update once I hear back from the team.
Regards,
Deepak
Hi Stefan,
I have an update rom the team:
Unfortunately, it is not possible to leave email field as null/empty because it is still used unique identifier for the user even if we choose 'username' login instead of email.
A workaround is to switch on login by username, then set the email address to some random value that passes email validation, such as <random uuid>@a.b . This value would have to be different for each user.
Please let me know if that helps.
Thanks,
Deepak
Hi Stefan,
I have an update rom the team:
Unfortunately, it is not possible to leave email field as null/empty because it is still used unique identifier for the user even if we choose 'username' login instead of email.
A workaround is to switch on login by username, then set the email address to some random value that passes email validation, such as <random uuid>@a.b . This value would have to be different for each user.
Please let me know if that helps.
Thanks,
Deepak
Replies have been locked on this page!