I am unable to open my splunk cloud rest-api URL's in my local machine. Do we need to enable something in my local machine. Please find the error below.
Did you read the following?:
You might need to take extra steps to access your Splunk Cloud Platform deployment using the Splunk REST API and SDKs. If necessary, you can get access with one of the following options:
Free trial Splunk Cloud Platform accounts cannot access the REST API.
Once you have REST API access, you can make calls with a local account, an LDAP account, or a SAML account. To learn more about setting up authentication with tokens, see Set up authentication with tokens.
Use the following URL for Splunk Cloud Platform deployments: