Open matthorgan opened 5 years ago
Are you referring to documentation about Orion accounts in the wiki? I see a reference to CanClearEvents
there. Are there other areas that need correction?
Hey @danjagnow. Yeah, in the Wiki documentation and the Schema, it says that the properties are CanClearEvents
and Enabled
. The ones that actually worked for me are AccountEnabled
and AllowEventClear
.
When using
Invoke-SwisVerb
with the EntityNameOrion.Accounts
and VerbUpdateAccount
to update a group account, I get an error that says'Invalid data: CanClearEvents, Enabled'
. Looking at the Accounts table in the database, the actual properties that it expects are calledAccountEnabled
andAllowEventClear
respectively. If I change the CanClearEvents and Enabled properties to use these names, everything works fine.I believe the API/GitHub documentation may need to be updated to reflect this.