Delete a function by type

Permanently deletes a function of the specified type from a custom action definition. This action cannot be undone.