All domain commands: (check) (create) (delete) (info) (modify) (transfer) (renew) (undelete) (privacy) (autorenew)
For all domain names, you can set or remove the autorenew option. For new creates, autorenew is always on. When turned off, the domain name will be deleted when the expiration date has passed. You can query the autorenew flag of a domain name and the expiration date with the domain:info command.
To update the autorenew setting for a domain you use the update->domain:update command. Please refer to the XSD files to see which elements are allowed where.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
<domain:update xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>test-update-domain-12345.com</domain:name>
</domain:update>
</update>
<extension>
<command-ext:command-ext>
<command-ext-domain:domain>
<command-ext-domain:update>
<command-ext-domain:autoRenew>false</command-ext-domain:autoRenew>
</command-ext-domain:update>
</command-ext-domain:domain>
</command-ext:command-ext>
</extension>
<clTRID>mtr-1234</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<trID>
<svTRID>MTR-asdfghjklasdfghjkl</svTRID>
<clTRID>MTR-12345</clTRID>
</trID>
</response>
</epp>