
nvf2e (nvf2e) asked a question.
I am trying to Assign and Unassign License to a user in Google Workspace. I am passing the license object with "skuId" but in response I am getting 400 status code with message stating "400: skuId is required field".
I tried looking up document to check if I am doing anything wrong but couldn't find much. Need a way to get this working for our internal automation.
Anyone who worked with these actions please help me to fix this.

Is there a reason you are not taking advantage of the provisioning (including licensing assignment) that occurs when an App such as Google Workspace is assigned to a group? Add user to the group, it assigns the app + the license. Remove them.. unassigns etc.
Additionally, if you are asking for assistance with 3rd party API's I suggest providing the API documentation you are working off of, and the errors you are running into.