Type Method


Deletes the interactions with the specified group identifier.


class func delete(with groupIdentifier: String, completion: ((Error?) -> Void)? = nil)



The group identifier string of the interactions that you want to delete. This string corresponds to the value stored in the groupIdentifier property of the interaction objects.


A block to execute with the results. Provide a block if you want to know whether the deletion action was successful. The block has no return value and takes the following parameter.


An error object indicating a problem occurred. On success, this parameter is nil. If there was an error, this parameter contains an error object describing what happened.


Call this method to delete a group of donated Siri interactions. Typically, you delete interactions when they are no longer relevant. If you provide a block in the completion parameter, the system executes your block asynchronously with the results.

See Also

Deleting Interactions from the System

class func deleteAll(completion: ((Error?) -> Void)?)

Deletes all interactions that you donated previously.

class func delete(with: [String], completion: ((Error?) -> Void)?)

Deletes the specified interactions that were donated by the calling app.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software