Hello - I am trying to update my APIs due to the deprecation announced. I am having trouble with the new share API for sharing a workspace. Below is what I have in my HTTP request, and the error I am receiving. I have tried a few things, but I can't get past this error.
Share asset
{
"assetType": "workspace",
"assetId": @{outputs('Compose_id')},
"sendEmail": false,
"shares": [
{
"groupId": 8***********,
"accessLevel": "ADMIN"
}
]
}
Field Value
errorCode 1009
refId 37e6d3
message A required parameter is missing from your request: {assetType}.
Thanks in advance!