ContactsRoutes

public class ContactsRoutes : DropboxTransportClientOwning

Routes for the contacts namespace For Objective-C compatible routes see DBContactsRoutes

  • Removes all manually added contacts. You’ll still keep contacts who are on your team or who you imported. New contacts will be added when you share.

    • scope: contacts.write

    Declaration

    Swift

    @discardableResult
    public func deleteManualContacts() -> RpcRequest<VoidSerializer, VoidSerializer>

    Return Value

    Through the response callback, the caller will receive a Void object on success or a Void object on failure.

  • Removes manually added contacts from the given list.

    • scope: contacts.write

    Declaration

    Swift

    @discardableResult
    public func deleteManualContactsBatch(emailAddresses: [String])
        -> RpcRequest<VoidSerializer, Contacts.DeleteManualContactsErrorSerializer>

    Parameters

    emailAddresses

    List of manually added contacts to be deleted.

    Return Value

    Through the response callback, the caller will receive a Void object on success or a Contacts.DeleteManualContactsError object on failure.