Post

5 followers Follow
0
Avatar

Reactivate a Suspended User through REST API v2

How can I reactivate a User in Clarizen thru API? It seems that the service account we use can Suspend a User by having operation "Disable" in lifecycle but not able to reactivate the user using "Activate" operation. The API returns an error message: Service Account is not allowed to Activate '<User>' User.

Is this something a limitation of the API, or is it something that can be fixed by granting the Service Account higher permission? Or an admin account should be used instead of service account? No idea but if there are ways to do it in REST API v2, can you provide each of them?

Richard Santos Answered

Please sign in to leave a comment.

6 comments

0
Avatar

Hello Richard,

Could you please try granting Service Account admin permissions and let me know if that helps?

Thank you!

Roland Pumputis 0 votes
Comment actions Permalink
0
Avatar

Hello, Roland - I work with Richard and I can confirm that the Service Account already has the Admin profile but we're still getting the error above.

Jenina Chua 0 votes
Comment actions Permalink
0
Avatar

Rechecked with the team and seems that the service account we used is also an admin account though

Richard Santos 0 votes
Comment actions Permalink
0
Avatar

Thanks Roland!

Got this working on my end. Do you have any link that lists all available lifecycle operations? Been searching for this for the past few days with no luck.

Richard Santos 0 votes
Comment actions Permalink
0
Avatar

I have been successful with Disable and Enable.  But how do I bring a user back to life after using the lifecycle "Delete" on them?  "Enable" does not do it and "Activate" gives the "Not allowed to Activate user" message

Kurt Kremer 0 votes
Comment actions Permalink