Skip to main content
The First Step
Oct 19, 2021 10:25 PM UTC
Solved

is there a way to bulk delete external contacts

I want to bulk delete contacts. I am using DELETEhttps://platform.devtest.ringcentral.com/restapi/v1.0/account/accountId/extension/extensionId/address-book/contact/contactId successfully but would like to bulk delete.

    The First Step
    Oct 19, 2021 11:17 PM UTC

    Yes you can delete multiple contacts using comma after each contact id

    Ref: https://developers.ringcentral.com/api-reference/External-Contacts/deleteContact

    Example

    /restapi/v1.0/account/accountId/extension/extensionId/address-book/contact/contactId1, contactid2,…

    2 replies

    The First Step
    Oct 19, 2021 11:17 PM UTC

    Yes you can delete multiple contacts using comma after each contact id

    Ref: https://developers.ringcentral.com/api-reference/External-Contacts/deleteContact

    Example

    /restapi/v1.0/account/accountId/extension/extensionId/address-book/contact/contactId1, contactid2,…

    bartheThe First StepAuthor
    The First Step
    Oct 20, 2021 1:59 AM UTC

    Perfect. that worked!

    I needed to encode the comma in the URI to %2c to get it to work and found that I needed to limit the # of contacts in a single delete to 25 or so.

    thanks you!