How does one stop a CPM Action using CLI commands or REST API?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

How does one stop a CPM Action using CLI commands or REST API?

I'm triggering a Verify task via psPAS, but unfortunately this action gets stuck for a long time which is preventing the script from working properly. After some time I'd like to stop this CPM action so that it doesn't cling after the script execution ends, and give the proper error message. But, I'm finding a lot of difficulties to arrange a way of stopping this action since none of the REST API endpoints seems to able to do so.

 

The 'Update Account' endpoint is the one that gets closer to it. Read the documentation and it even says that we can do a replacement operation and gives all the properties we can mess with.

I found the 'status' property could be the one that I could mess with to stop the Verify.

 

Field_Content_versions_oct20__068Ht00000QvR6FIAV.pngIt is included in a section called

 

Field_Content_versions_oct20__068Ht00000QvR6eIAF.png 

but then when we try to make use of it

 

Field_Content_versions_oct20__068Ht00000QvR6jIAF.pngIt simply doesn't work, saying this property can't be updated.

 

Is this a documentation error or am I seeing it wrong?

 

The same was expected from psPAS commands since they're API-based

 

Field_Content_versions_oct20__068Ht00000QvR6tIAF.png 

Does anyone know how can I stop a CPM action using CLI commands that can be integrated in the Powershell script I'm crafting?

 

 

1 accepted solution

Accepted Solutions

L7 Applicator

If you do the same thing via PVWA (trigger a Verify and then cancel it), you'll see in the Activities view that your user deletes the "ResetImmediately" file category from the account object. This should be possible with PACLI, but probably not via the Vault REST API.

View solution in original post

1 REPLY 1

L7 Applicator

If you do the same thing via PVWA (trigger a Verify and then cancel it), you'll see in the Activities view that your user deletes the "ResetImmediately" file category from the account object. This should be possible with PACLI, but probably not via the Vault REST API.

  • 1 accepted solution
  • 427 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!