question

washingon avatar image
washingon asked washingon commented

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.

rest api
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Anirban avatar image
Anirban answered washingon commented

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,…

1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

washingon avatar image washingon commented ·

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!

0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys