Rest/Api: Removes a user from all organizations seems not working
Defect Logged
Hi,
I send a request against the rest/api according to the documentatio:
https://developers.yellowfinbi.com/dev/api-docs/current/#operation/deleteUserAdmin
but always get a 400 "Bad Request" return code. The URL is correct in any case, because the GET works.
In the header I use exactly the same Accept and Authorization content, otherwise I would have a different error message. the body is empty. The user has the status “active”.
Do you have any ideas? Where is the hidden trick?
Requests with httpReturnCode:
- "GET /yellowfin/api/admin/users/13272 HTTP/1.1", httpStatus: 200 OK
- 1 try: "DELETE /yellowfin/api/admin/users/13272?reassignContentTo=5 HTTP/1.1", httpStatus: 400 Bad Request
- 2 try: "DELETE /yellowfin/api/admin/users/13272 HTTP/1.1", httpStatus: 400 Bad Request
;) Stefan
Version 9.0.12 / 13
Hi Stefan,
I hope you're doing well.
Just a quick check, are you getting this error with this DELETE request only? Do other deletes, like reports, work?
I'll just double check this myself, in the meantime.
Kind regards,
Chris
Hi Stefan,
I hope you're doing well.
Just a quick check, are you getting this error with this DELETE request only? Do other deletes, like reports, work?
I'll just double check this myself, in the meantime.
Kind regards,
Chris
Hi Stefan,
I'm also seeing this not working in 9.13 with a null pointer error shown in the log. Can you confirm that you are also seeing a null pointer, please?
It does seem that this bug has been caught already and a fix is due for 9.14, however if this is a problem, we can look at an interim build.
Kind regards,
Chris
Hi Stefan,
I'm also seeing this not working in 9.13 with a null pointer error shown in the log. Can you confirm that you are also seeing a null pointer, please?
It does seem that this bug has been caught already and a fix is due for 9.14, however if this is a problem, we can look at an interim build.
Kind regards,
Chris
Replies have been locked on this page!