Hi,
Trying to remove a security role from a user via WebAPI, we are getting this error.
"Delete References directly is only valid for OneToManyEntityRelationship"
The call is below. Any pointers would be greatly appreciated.
DELETE [Organization URI]/api/data/v9.0/systemusers(00000000-0000-0000-0000-000000000002)/systemuserroles_association/$ref HTTP/1.1
Content-Type: application/json
Accept: application/json
OData-MaxVersion: 4.0
OData-Version: 4.0
{
"@odata.id":"[Organization URI]/api/data/v9.0/roles(00000000-0000-0000-0000-000000000001)"
}

Report
All responses (
Answers (