Security

SAML User deletion from Search Head Cluster

ssharma09
Explorer

How do I delete SAML users from Search Head Cluster?
I tried removing from stand-alone Search Head(Dev environment) using below command, successfully did that.
curl -k -u admin:{password} --request DELETE https://{..hostname}:8089/services/admin/SAML-user-role-map/{user_id}
and then manually delted user directory from /splunk_home/etc/users/

But, when I'm running this command at SH cluster(production) it is giving me error:

curl: (7) Failed to connect to URI port 8089: connection time out

Tags (1)
0 Karma

ssharma09
Explorer

Hi Harsmarvania57,
Thanks for the prompt reply. Yes, I’ve tried that command on one of the SH cluster member and also, the management port is 8089. Still receiving error.
Thanks

0 Karma

harsmarvania57
SplunkTrust
SplunkTrust

Hi,

Have you tried to run command on one of the SHC member directly, if not then try below command? Additionally you need to check whether SHC members are running Splunk management port on 8089 or not, if they are running management port on another port then you need to use that port.

curl -k -u admin:password --request DELETE https://localhost:8089/services/admin/SAML-user-role-map/{user_id}
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...