These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Deleting a company administrator

I'm able to add company admins and members using the rest API for organization relationships. However deleting it has been a challenge for me and the only reference I can find is available at https://developer.imis.com/docs/working-with-committees#section-deleting-a-committee-member. This may work on committees but I haven't had any luck with the organization relationship. Below is the JSON string I use to post to /api/GroupMember/

{
"MembershipDetails": {
"$values": [
]
},
"GroupMemberId": "ORGRELATIONSHIP-159:23280",
"Group": {
"GroupId": "ORGRELATIONSHIP-159",
"Description": "Organizational Relationship",
"ParentIdentity": {
"EntityTypeName": "Party",
"IdentityElements": {
"$values": ["159"]
}
},
"GroupClass": {
"GroupClassId": "ORGRELATIONSHIP",
"Name": "Organization",
"Description": ""
},
"StatusCode": "A"
},
"Party": {
"PartyId": "23280",
"Id": "23280"
},
"IsActive": true
}

Can this be done or is it a current limitation of the API?