Have you verified that there is a client called api.client in your SAS Viya environment? Also, is the URL you posted below the call you sent or did you make it generic for posting. sasserver.demo.sas.com is a generic URL I made up for documentation purposes. You would need to update the URL and client id with something specific to your implementation.
I made it generic for posting. I don't think the api client and api secret were set up which might explain why it isn't working as intended.
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.