Hello Richard,
Could you please try granting Service Account admin permissions and let me know if that helps?
Thank you!
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?
Please sign in to leave a comment.
Hello Richard,
Could you please try granting Service Account admin permissions and let me know if that helps?
Thank you!
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.
Rechecked with the team and seems that the service account we used is also an admin account though
Hello Jenina and Richard,
Could you please try the following and let me know if it works?
{
"ids": ["/User/userExternalID"],
"operation": "Enable"
}
It worked for me: https://www.screencast.com/t/3uOK4kOok
Thank you!
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.
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