Daniel_Ondiviela | 2021-07-20 10:37:48 UTC | #1
Hi,
there are thousand of external contacts that I must delete, because are not correctly uploaded. Uploading again the same external contacts (same ID) doesn't update them, but duplicate them. So I must delete every external contact before reuploading correctly
Can somebody provide the correct way of using this endpoint?
/api/v2/externalcontacts/bulk/contacts/remove
Don´t know how to fill the input json:
{ "entities": [ {} ] }
Thanks
anon11147534 | 2021-07-20 11:45:23 UTC | #2
Hi Daniel,
It appears that entities must contain objects with a single id property which refers to the ID of the contact you wish to delete.
So, for example:
{
"entities": [
{
"id": "d2e02af9-6506-4e15-89c6-e1833ef15f5f"
},
{
"id": "346ce213-247d-4fdb-b9ea-5f265748dab9"
}
]
}
tim.smith | 2021-07-20 20:42:35 UTC | #3
@Daniel_Ondiviela can you report this bug via a Genesys Cloud Care case? The API has a bug and is not documenting the request contract correctly; reporting through Care will allow this bug to be prioritized and fixed in the documentation and SDKs.
system | 2021-08-20 20:42:38 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11518