Policy won't load in JSS

PhillyPhoto
Valued Contributor

I have a policy in my console, that when I click on it, it just spins trying to load. If I change the "o" option to U in the URL, it still spins. If I change it to L I get the logs fine. How can I delete this policy from the console since it's bad? I know the delete button requires confirmation and I haven't found a way to get to the confirmation form the URL. Using option V, I get the buttons on the bottom and can click edit, clone, logs etc, except Delete still doesn't work.

Spinning around:
c24c3b13d7a947408cc30d75b72a55b7

Option V:
0b4798bd21044a30b236735504c52d45

1 ACCEPTED SOLUTION

davidacland
Honored Contributor II

You can delete it from the command line using the api curl https://myjss.com/JSSResource/policies/id/{id} --user "$user:$pass" -X DELETE.

View solution in original post

2 REPLIES 2

davidacland
Honored Contributor II

You can delete it from the command line using the api curl https://myjss.com/JSSResource/policies/id/{id} --user "$user:$pass" -X DELETE.

PhillyPhoto
Valued Contributor

That worked, however I had to leave the password blank and type it in when prompted for the command to work.