Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

Cannot Delete User Using v3 APIs

Luke_C
17 - Castor

I'm trying to use the v3 APIs to build a process to remove users no longer with the company. 

 

When I pass the user ID through the delete API it returns a message that the user owns assets:

Luke_C_0-1682011987967.png

 

However when I run the same id through the endpoint to get user assets nothing shows up:

Luke_C_1-1682012050381.png

 

Has anyone run into this before?

5 REPLIES 5
fmvizcaino
17 - Castor
17 - Castor

Hey @Luke_C ,

 

There is a known issue with version 22.1 regarding this endpoint. It was later fixed in 22.3

https://help.alteryx.com/release-notes/server/server-20221-release-notes

fmvizcaino_0-1682017649263.png

 

Best regards,

Fernando Vizcaino

 

gabrielvilella
14 - Magnetar

What version are you in? In version 2022.1 I am facing an issue with the delete endpoint, it's not working. 

Luke_C
17 - Castor

Hi @fmvizcaino@gabrielvilella 

 

I'm on 22.1 so it looks like that's the issue. Will have to revisit after we upgrade. Thanks!

fmvizcaino
17 - Castor
17 - Castor

A workaround is to deactivate the users. The user will not be deleted from MongoDB but disappear from the Gallery UI.

 

You can unhide the user by changing the Active column (almost sure this is the column) back to 1 if needed.

 

Best,

Fernando Vizcaino

 

patrick_digan
17 - Castor
17 - Castor

Thanks for the info @fmvizcaino , I missed that issue in the release notes!