az rest --method put --uri https://management.azure.com/subscriptions/4ca353fe-1e9f-446d-8d5f-2f9232ed8958/resourceGroups/APIM-Dev/providers/Microsoft.ApiManagement/service/apim-test/namedValues/test?api-version=2020-06-01-preview --body "{'properties': {'displayName': 'test'','secret': true,'tags': [],'keyVault': {'identityClientId': null,'secretIdentifier': 'https://XXXX-keyvault.vault.azure.net/secrets/xxxx'}}}"
az : ERROR: Bad Request({"error":{"code":"ValidationError","message":"After parsing a value an unexpected character was encountered: '. Path 'properties.displayName', line 1, position 94.","details":null}})
At line:1 char:1
- az rest --method put --uri https://management.azure.com/subscriptions ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (ERROR: Bad Requ...etails":null}}):String) [], RemoteException
- FullyQualifiedErrorId : NativeCommandError