New Endpoint: delete all contacts in a contact list

Category: API

Summary: A new outbound dialing API call api/v2/outbound/contactlists/{contactListId}/clear deletes all contacts in a contact list while keeping the contact list available for references. For more information, see Outbound dialing in the Developer Center and JIRA ticket CD-6050.

Impact: None. This new call makes it easier for outbound administrators to keep their contact lists synced to changes in their databases.

Date of Change: 18 October 2018

Impacted APIs:

  • Outbound Dialing
2 Likes

Hi there. Thanks for the note. Does this endpoint require a specific permission / grant to be called?

Hi Daniel,

User making this call must have the following permission:

  • outbound:contact:delete

You may find additional information - including parameters, responses, and code samples - in the Outbound Dialing resources page in our Developer Center.

Have a great day!

Ok, thanks for the quick reply. I just wanted to make sure this new feature would be safe enough :slight_smile:

Have a great day!

This call is no longer in the API documentation, and looks like it was removed from the .NET library in the most recent release : https://github.com/MyPureCloud/platform-client-sdk-dotnet/blob/69db2da85b675503a5c8c92ce7867fe17a18f9bd/releaseNotes.md. What happened?

That is very strange. The API is still there, but it's currently missing from swagger, which is what defines the SDK's methods. You can roll back to the previous version and continue to use that API. I'm investigating internally to find out how the resource disappeared.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.