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.
Register Today!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.