Revoke a contract