Puppet API to delete Role fails
In Puppet Enterprise 3.7.2,am trying to delete a Role from Puppet using curl and Puppet API call as below. But this doesn't seem to work. Has anyone got the Role deletion working using APIs ?
curl -k -X DELETE -H "Accept: pson" --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem --cert /opt/puppet/share/puppet-dashboard/certs/pe-internal-dashboard.cert.pem --key /opt/puppet/share/puppet-dashboard/certs/pe-internal-dashboard.private_key.pem https://puppetmasterhost:4433/rbac-ap... where 53 is the roleID that I am trying to delete