Using API to deploy and stop ML Skills in AI Center

Hi,

I’m trying to deploy and stop an ML skill via API. I am able to deploy the skill via api but I cannot stop it. I’ve attached the screenshot of the error I’m receiving. Not sure if I’m missing any permission to Stop the skill. Please advise.

Hi Harsha,
Commonly, GET methods require Read permissions, while POST, PUT, and DELETE methods require Write permissions.

Cheers!

Hi @harsha.n

Change the method to PUT instead POST and try again

Cheers