I am trying to configure RMAN to delete archive logs:

I see this in the oracle documentation:

You can use the CONFIGURE ARCHIVELOG DELETION POLICY BACKED UP integer TIMES TO DEVICE TYPE command to enable an archived log deletion policy. This configuration specifies that archived logs are eligible for deletion only when the specified number of archived log backups exist on the specified device type.

Yet when I try different variations of this command (see below). I get
the same error. Can this work with oracle 10.2.0.1.0? or can somebody
give me the correct syntax.

CONFIGURE ARCHIVELOG DELETION POLICY BACKED UP 2 times to device type;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "backed": expecting one of: "clear, to"
RMAN-01007: at line 1 column 38 file: standard input



Thanks in advance to all who answer this post.