In one of my create workflows I added delete-profile | SailPoint Developer Community as a rest api action in order to delete the profile if a certain condition is met. However, when that action is called I receive a 500 Error which looks like the following:
This is kind of an odd request actually and has both a technical component (what you listed already) as well as a business component (i.e. deleting profiles is generally not recommended).
Re: the technical side - Can you post exactly what API / parameters you’re passing? Additionally - Have you tried doing this via Postman, or other API tool, to confirm if the API is the issue or the NERM UI is the issue?
Re: the business side - Can you clarify a use case for needing to delete a profile? What type of profile and why?